Skip to content

Commit

Permalink
chore(nuxt security): disable
Browse files Browse the repository at this point in the history
  • Loading branch information
damienrobinson committed Nov 24, 2024
1 parent c5449d9 commit 34e0442
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default defineNuxtConfig({
'@vite-pwa/nuxt',
'nuxt-schema-org',
'nuxt-og-image',
'nuxt-security',
// 'nuxt-security',
'@nuxtjs/eslint-module',
'@formkit/nuxt',
'@nuxt/fonts',
Expand Down Expand Up @@ -177,20 +177,20 @@ export default defineNuxtConfig({
},
},

security: {
rateLimiter: false, // https://github.com/Baroshem/nuxt-security/issues/137
headers: {
contentSecurityPolicy: {
'img-src': ["'self'", 'data:', IMGPROXY_URL],
'script-src': ["'unsafe-inline'"],
},
},
nonce: false,
ssg: {
meta: false,
hashScripts: false,
},
},
// security: {
// rateLimiter: false, // https://github.com/Baroshem/nuxt-security/issues/137
// headers: {
// contentSecurityPolicy: {
// 'img-src': ["'self'", 'data:', IMGPROXY_URL],
// 'script-src': ["'unsafe-inline'"],
// },
// },
// nonce: false,
// ssg: {
// meta: false,
// hashScripts: false,
// },
// },

pwa: {
// registerType: 'autoUpdate',
Expand Down

0 comments on commit 34e0442

Please sign in to comment.