mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 02:26: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() {
|
||||
const CSP = {
|
||||
"connect-src": ["*"],
|
||||
"default-src": ["'none'"],
|
||||
|
||||
"font-src": ["'self'"],
|
||||
"style-src": ["'self'"],
|
||||
"style-src-attr": ["'self'"],
|
||||
"style-src-elem": ["'self'"],
|
||||
"img-src": ["'self'", "data:"],
|
||||
"manifest-src": ["'self'"],
|
||||
"worker-src": ["'self'"],
|
||||
"default-src": ["'self'"],
|
||||
|
||||
"script-src": allowedScriptOrigins,
|
||||
"script-src-attr": allowedScriptOrigins,
|
||||
|
|
Loading…
Reference in a new issue