web/headers: update csp yet again

whatever dude
This commit is contained in:
wukko 2024-09-18 19:16:23 +06:00
parent 9024418aff
commit 52599dd900
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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,