Description
Add a --corp flag that would result in the equivalent of
{
"headers": [
{
"source": "**/*",
"headers": [
{
"key": "Cross-Origin-Resource-Policy",
"value": "cross-origin"
}
]
}
]
}
that 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.
Description
Add a
--corpflag 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
--corsflag is not enough for quickly starting up a server and testing things.Alternatives
Add the
Cross-Origin-Resource-Policy: cross-originheader by default when--corsis specified.