From 806d4ddd3dc1bce52d2bec3ac06b8e87ba6ea9f6 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Fri, 16 Sep 2022 16:06:49 +0100 Subject: [PATCH] Use a fixed release of the simulator. --- src/simulator/Simulator.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/simulator/Simulator.tsx b/src/simulator/Simulator.tsx index 61910f9c5..89ef4e74d 100644 --- a/src/simulator/Simulator.tsx +++ b/src/simulator/Simulator.tsx @@ -37,10 +37,11 @@ const Simulator = ({ simFocus, }: SimulatorProps) => { // This needs the domain to be updated before we release. - const url = "https://stage-python-simulator.microbit.org/simulator.html"; + const version = "0.1.0"; + const url = `https://python-simulator.usermbit.org/v/${version}/simulator.html`; // For testing with sim branches: //const branch = "whatever"; - //const url = `https://review-python-simulator.microbit.org/${branch}/simulator.html`; + //const url = `https://review-python-simulator.usermbit.org/${branch}/simulator.html`; const ref = useRef(null); const intl = useIntl();