From 34e04425d03ff9212bc2e2aba156999b783fdf5d Mon Sep 17 00:00:00 2001 From: Damien Robinson Date: Sun, 24 Nov 2024 14:34:58 +1000 Subject: [PATCH] chore(nuxt security): disable --- nuxt.config.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 76ba605f8..8875adcac 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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', @@ -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',