Open
Description
Hi there !
Hope your well,
I'm using R3Rapier inside an Hydrogen/Remix Shopify environment,
Whenever I import Rapier, I got this error :
WebAssembly.instantiate(): Refused to compile or instantiate WebAssembly module because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src self 'self'
I've managed to remove the error by putting a
scriptSrc: ["'self'", "'unsafe-eval'"],
inside a CSP defining function, but I've read here and there that it's not really safe to right "unsafe-eval", what are the other possibilities ?
Have a nice day !
Metadata
Metadata
Assignees
Labels
No labels