Skip to content

Commit

Permalink
fix(nuxt security): unsafe inline csp
Browse files Browse the repository at this point in the history
  • Loading branch information
damienrobinson committed Nov 24, 2024
1 parent 46becb8 commit 09dc0ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,13 @@ export default defineNuxtConfig({
headers: {
contentSecurityPolicy: {
'img-src': ["'self'", 'data:', IMGPROXY_URL],
'script-src': ["'unsafe-inline'"],
},
},
ssg: {
meta: false,
hashScripts: false,
},
},

pwa: {
Expand Down

0 comments on commit 09dc0ab

Please sign in to comment.