Skip to content

Commit

Permalink
Disable 05-cspSsgPresets
Browse files Browse the repository at this point in the history
Fixes #348
  • Loading branch information
vejja committed Jan 17, 2024
1 parent a6b9c02 commit 0bbb8c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,16 @@ function registerSecurityNitroPlugins(nuxt: Nuxt, securityOptions: ModuleOptions
)

// Register nitro plugin to enable CSP Headers presets for SSG
// TEMPORARILY DISABLED AS NUXT 3.9.3 PREVENTS IMPORTING @NUXT/KIT IN NITRO PLUGINS
/*
config.plugins.push(
normalize(
fileURLToPath(
new URL('./runtime/nitro/plugins/05-cspSsgPresets', import.meta.url)
)
)
)
*/

// Nitro plugin to enable CSP Nonce for SSR
config.plugins.push(
Expand Down

0 comments on commit 0bbb8c0

Please sign in to comment.