aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
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) {