From 71cb61cd904e87286e33721e8c414ba6ad2647ff Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Fri, 10 Jul 2026 10:24:04 +0200 Subject: [PATCH] subpath bugfixes --- src/worker/inference.worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/inference.worker.ts b/src/worker/inference.worker.ts index be843dd..f6bb2c2 100644 --- a/src/worker/inference.worker.ts +++ b/src/worker/inference.worker.ts @@ -31,7 +31,7 @@ import { // them at /ort/* (src/index.ts; copied into dist/ort by scripts/build.ts) // and the service worker runtime-caches them cache-first (src/pwa/sw.ts). if (env.backends.onnx.wasm) { - env.backends.onnx.wasm.wasmPaths = "ort/"; + env.backends.onnx.wasm.wasmPaths = "./ort/"; } // `lib: ["DOM"]` types `self` as Window; give it the worker-scope shape we use.