aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-01-19 11:56:58 +0000
committerLouis Pilfold <louis@lpil.uk>2024-01-19 11:56:58 +0000
commitb65c4f6d11fff63c40b450ab914b63dfffa09e17 (patch)
treee6d515167134cf265be3aa6716731aef07ee4630 /static
parent0f3f934a1eee62d77bd9917b9cc7becd2dbe989a (diff)
downloadtour-b65c4f6d11fff63c40b450ab914b63dfffa09e17.tar.gz
tour-b65c4f6d11fff63c40b450ab914b63dfffa09e17.zip
Fix path
Diffstat (limited to 'static')
-rw-r--r--static/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.js b/static/index.js
index 600b638..3f495af 100644
--- a/static/index.js
+++ b/static/index.js
@@ -66,7 +66,7 @@ function debounce(fn, delay) {
let workerWorking = false;
let queuedWork = undefined;
-const worker = new Worker("worker.js", { type: "module" });
+const worker = new Worker("/worker.js", { type: "module" });
function sendToWorker(code) {
if (workerWorking) {