Skip to content

Commit

Permalink
web/headers: update csp yet again
Browse files Browse the repository at this point in the history
whatever dude
  • Loading branch information
wukko committed Sep 18, 2024
1 parent 9024418 commit 52599dd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions web/src/routes/_headers/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 52599dd

Please sign in to comment.