Skip to content

Commit 71e87fe

Browse files
More prefix hacks for sim URLs
1 parent d910d3a commit 71e87fe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/sw.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
function initSimulatorServiceWorker() {
22
const simUrls = [
3-
"/simulator.html",
4-
"/build/simulator.js",
5-
"/build/firmware.js",
3+
// TODO: Fix more prefix hacks
4+
"/service-worker/simulator.html",
5+
"/service-worker/build/simulator.js",
6+
"/service-worker/build/firmware.js",
67
];
78
let didInstall = false;
89
const cacheName = "simulator";

0 commit comments

Comments
 (0)