Skip to content

Commit

Permalink
Merging ffdeba1 into trunk-temp/pr-2363/eee11d3f-5891-4ba4-aad7-9b136…
Browse files Browse the repository at this point in the history
…af1fea9
  • Loading branch information
trunk-io[bot] authored Nov 29, 2024
2 parents ff19af9 + ffdeba1 commit 8b467da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nosecone-next/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const defaults = {
// Replace the defaults to remove `'self'`
process.env.NODE_ENV === "development"
? // Next.js hot reloading relies on `eval` so we enable it in development
([nonce, "'strict-dynamic'", "'unsafe-eval'"] as const)
: ([nonce, "'strict-dynamic'"] as const),
([nonce, "'unsafe-eval'"] as const)
: ([nonce] as const),
styleSrc: [
...baseDefaults.contentSecurityPolicy.directives.styleSrc,
"'unsafe-inline'",
Expand Down

0 comments on commit 8b467da

Please sign in to comment.