Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cross-Origin-Resource-Policy: cross-origin" header? #290

Open
hoodmane opened this issue Mar 3, 2021 · 2 comments · Fixed by abistorage/unpkg#1 · May be fixed by #296
Open

"Cross-Origin-Resource-Policy: cross-origin" header? #290

hoodmane opened this issue Mar 3, 2021 · 2 comments · Fixed by abistorage/unpkg#1 · May be fixed by #296

Comments

@hoodmane
Copy link

hoodmane commented Mar 3, 2021

Since August 5th jsdelivr has been serving files with a Cross-Origin-Resource-Policy : cross-origin header so that JsDelivr can be used in websites that use SharedArrayBuffer and other newfangled APIs that require cross origin isolation. It would be convenient if unpkg could do the same.

See the corresponding jsdelivr issue:
jsdelivr/jsdelivr#18201

@underrobyn
Copy link

+1 this issue

unpkg needs to send this header, other CDNs such as CDNJS and Googleapis.com send this header

@rustonaut
Copy link

This for example leads to problems when trying to use flutter web (dev builds) with WASM using SharedArrayBuffer buffers to have something "like" threading. (As by default for dev builds https://unpkg.com/[email protected]/bin/canvaskit.js is used.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants