diff --git a/docs/content/1.documentation/2.headers/1.csp.md b/docs/content/1.documentation/2.headers/1.csp.md index 2e31e74f..d25c8050 100644 --- a/docs/content/1.documentation/2.headers/1.csp.md +++ b/docs/content/1.documentation/2.headers/1.csp.md @@ -329,7 +329,7 @@ export default defineNuxtConfig({ nonce: true, headers: { contentSecurityPolicy: { - 'style-src': process.env.NODE_ENV = 'development' ? + 'style-src': process.env.NODE_ENV === 'development' ? ["'self'", "'unsafe-inline'"] : ["'self'", "'unsafe-inline'", "nonce-{{nonce}}"] }