Skip to content

Use Stork-search for offline static website? #315

Answered by jameslittle230
icestars asked this question in Q&A
Discussion options

You must be logged in to vote

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 the application/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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@icestars
Comment options

Answer selected by jameslittle230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants