Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui committed Dec 27, 2023
1 parent efa99a9 commit 3666d09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export function middleware(request: NextRequest) {
const cspHeader = `
default-src 'self';
style-src 'self' 'nonce-${nonce}';
script-src 'self' 'strict-dynamic' 'unsafe-inline' ${IS_DEV ? "'unsafe-eval'" : ""}
script-src 'self' 'strict-dynamic' 'unsafe-inline' ${
IS_DEV ? "'unsafe-eval'" : ""
}
connect-src 'self' vitals.vercel-insights.com;
img-src 'self' blob: data:;
font-src 'self';
Expand Down

0 comments on commit 3666d09

Please sign in to comment.