Skip to content

Commit

Permalink
More prefix hacks for sim URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Apr 23, 2024
1 parent d910d3a commit 71e87fe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sw.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
function initSimulatorServiceWorker() {
const simUrls = [
"/simulator.html",
"/build/simulator.js",
"/build/firmware.js",
// TODO: Fix more prefix hacks
"/service-worker/simulator.html",
"/service-worker/build/simulator.js",
"/service-worker/build/firmware.js",
];
let didInstall = false;
const cacheName = "simulator";
Expand Down

0 comments on commit 71e87fe

Please sign in to comment.