Skip to content

Commit

Permalink
fix: fix CSP with connect-src
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Dec 1, 2024
1 parent 9faed93 commit 7fbd8fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const middleware = (request: NextRequest) => {
script-src 'self' 'unsafe-inline' *.${DOMAIN_NAME} *.vercel-scripts.com *.googletagmanager.com;
style-src 'self' 'unsafe-inline';
img-src 'self' blob: data:;
connect-src *;
font-src 'self';
object-src 'none';
base-uri 'self';
Expand Down

0 comments on commit 7fbd8fb

Please sign in to comment.