-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
add --coop option to enable cross-origin isolated #806
base: master
Are you sure you want to change the base?
Conversation
In order to utilize some web features like SharedArrayBuffer via localhost, COOP & COEP headers have to be set. Add an --coop option to let people easily opt-in to them. These are important for things like WebAssembly testing. More information can be found at: https://web.dev/cross-origin-isolation-guide/
Fixes #650 |
For what it's worth, I would really like this option as well. Not being able to enable cross-origin isolation, and therefore wasm threads, was a dealbreaker for me, and made me replace htttp-server with a bespoke solution. I'd really like if something like this was merged. |
Please merge! This would be so helpful. |
It's the same as #759. Please merge! I want to use |
See: https://developer.mozilla.org/en-US/docs/Web/API/Performance/now#security_requirements This requires a change of dependencies from http-server to serve as http-server does not currently support setting the required headers. See: * http-party/http-server#759 * http-party/http-server#806
Wait for http-party/http-server#806 to be merged or http-server with --header argument support, since 14.1.1 was released almost 3 years ago.
Wait for http-party/http-server#806 to be merged or http-server with --header argument support, since 14.1.1 was released almost 3 years ago.
Workaround for http-party/http-server#806 to be merged or http-server with --header argument support release, since 14.1.1 was released almost 3 years ago and header support added after
Workaround for http-party/http-server#806 to be merged or http-server with --header argument support release, since 14.1.1 was released almost 3 years ago and header support added after
In order to utilize some web features like SharedArrayBuffer via
localhost, COOP & COEP headers have to be set. Add an --coop
option to let people easily opt-in to them. These are important
for things like WebAssembly testing.
More information can be found at:
https://web.dev/cross-origin-isolation-guide/
Contributor checklist
--help
outputmaster
branchMaintainer checklist