Skip to content
Discussion options

You must be logged in to vote

Thanks for the report 🙌

Tested your repo by building and previewing locally and everything works as expected. Altho, checking the hosted version reveal the following console error:

Failed to load the Pagefind WASM:

CompileError: WebAssembly.instantiate(): Compiling or instantiating WebAssembly module violates the following Content Security policy directive because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: 

And indeed, your page is served with a content-security-policy response header:

default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src * blob: data:; font-src 'self' https://fonts.gsta…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by torn4dom4n
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