Skip to content

Commit

Permalink
Enable the simulator service worker on staging
Browse files Browse the repository at this point in the history
This is experimental at this point and is part of investigating PWA
support for the micro:bit Python Editor.
  • Loading branch information
microbit-matt-hillsdon committed May 28, 2024
1 parent 2838da6 commit 0e556c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulator/Simulator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Simulator = ({
const production =
"https://python-simulator.usermbit.org/v/0.1/simulator.html";
const staging =
"https://python-simulator.usermbit.org/staging/simulator.html";
"https://python-simulator.usermbit.org/staging/simulator.html?flag=sw";
const url = stage === "PRODUCTION" ? production : staging;
// For testing with sim branches:
//const branch = "upgrade-mpy";
Expand Down

0 comments on commit 0e556c4

Please sign in to comment.