web-server-chrome icon indicating copy to clipboard operation
web-server-chrome copied to clipboard

CORS not sufficient for SharedArrayBuffer

Open raddad772 opened this issue 3 years ago • 0 comments

Hey there, I loved this extension! My web app is getting to the point I need SharedArrayBuffer now. However, checking the CORS options box does not stop the error coming up, ReferenceError: SharedArrayBuffer is not defined.

These headers need to be set this way for that to work, according to Chrome docs:

Cross-Origin-Embedder-Policy: require-corp Cross-Origin-Opener-Policy: same-origin

Not sure if these are technically CORS headers, but it would be really really nice if you could please add this option.

raddad772 avatar Aug 03 '22 02:08 raddad772