Skip to content

Commit

Permalink
Update next.config.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Sam K <[email protected]>
  • Loading branch information
samwisekind authored Feb 8, 2025
1 parent cc5ed5d commit c48f97e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import redirects from "./redirects.json";

const CSPHeader = [
`default-src 'self'`,
`script-src 'self' 'unsafe-eval' 'unsafe-inline' *.googletagmanager.com challenges.cloudflare.com`,
`script-src 'self' 'unsafe-eval' 'unsafe-inline' challenges.cloudflare.com *.googletagmanager.com`,
`style-src 'self' 'unsafe-inline'`,
`img-src 'self' *.ctfassets.net blob: data:'`,
`img-src 'self' *.ctfassets.net blob:`,
`media-src 'self' *.ctfassets.net blob:`,
`font-src 'self'`,
`object-src 'none'`,
`base-uri 'self'`,
`form-action 'self'`,
`frame-src 'self' challenges.cloudflare.com *.youtube.com *.youtube-nocookie.com`,
`frame-ancestors 'none'`,
`upgrade-insecure-requests'`,
`upgrade-insecure-requests`,
].join("; ");

const nextConfig: NextConfig = {
Expand Down

0 comments on commit c48f97e

Please sign in to comment.