We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 a --corp flag that would result in the equivalent of
--corp
{ "headers": [ { "source": "**/*", "headers": [ { "key": "Cross-Origin-Resource-Policy", "value": "cross-origin" } ] } ] }
that now has to be set up in a serve.json .
Browsers now require CORP and COEP and the --cors flag is not enough for quickly starting up a server and testing things.
--cors
Add the Cross-Origin-Resource-Policy: cross-origin header by default when --cors is specified.
Cross-Origin-Resource-Policy: cross-origin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Add a
--corp
flag that would result in the equivalent ofthat now has to be set up in a serve.json .
Why
Browsers now require CORP and COEP and the
--cors
flag is not enough for quickly starting up a server and testing things.Alternatives
Add the
Cross-Origin-Resource-Policy: cross-origin
header by default when--cors
is specified.The text was updated successfully, but these errors were encountered: