Use Stork-search for offline static website? #315
-
Sir! How can I use stork-search for offline static website? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @icestars! Regrettably, you might not be able to today. You'd run into the same issues this StackOverflow asker saw, where you'd have trouble loading the I'll likely need to change the way the WASM file is loaded in order to fix this - I could probably follow the top answer's suggestion of encoding and embedding the WASM binary within the script file. This would be a major architectural change, and I probably wouldn't release it until I ship Stork 2.0.0. Sorry that that's likely not the answer you were hoping for. Please let me know if I can be helpful otherwise! James |
Beta Was this translation helpful? Give feedback.
Hi @icestars! Regrettably, you might not be able to today. You'd run into the same issues this StackOverflow asker saw, where you'd have trouble loading the
stork.wasm
file from a local URI, and even if you did, the browser would refuse to load it because it wasn't being served with theapplication/wasm
MIME type.I'll likely need to change the way the WASM file is loaded in order to fix this - I could probably follow the top answer's suggestion of encoding and embedding the WASM binary within the script file. This would be a major architectural change, and I probably wouldn't release it until I ship Stork 2.0.0.
Sorry that that's likely not the answer you were hoping for. Please let me k…