mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
web/headers: update csp yet again
whatever dude
This commit is contained in:
parent
9024418aff
commit
52599dd900
|
@ -9,15 +9,7 @@ const allowedScriptOrigins = [
|
||||||
export async function GET() {
|
export async function GET() {
|
||||||
const CSP = {
|
const CSP = {
|
||||||
"connect-src": ["*"],
|
"connect-src": ["*"],
|
||||||
"default-src": ["'none'"],
|
"default-src": ["'self'"],
|
||||||
|
|
||||||
"font-src": ["'self'"],
|
|
||||||
"style-src": ["'self'"],
|
|
||||||
"style-src-attr": ["'self'"],
|
|
||||||
"style-src-elem": ["'self'"],
|
|
||||||
"img-src": ["'self'", "data:"],
|
|
||||||
"manifest-src": ["'self'"],
|
|
||||||
"worker-src": ["'self'"],
|
|
||||||
|
|
||||||
"script-src": allowedScriptOrigins,
|
"script-src": allowedScriptOrigins,
|
||||||
"script-src-attr": allowedScriptOrigins,
|
"script-src-attr": allowedScriptOrigins,
|
||||||
|
|
Loading…
Reference in a new issue