subpath bugfixes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user