From 1a230b8757a8aefc83d0c58eb6478da6175ccdd2 Mon Sep 17 00:00:00 2001 From: Dominic Marcelino <46492597+Dominic-Marcelino@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:02:26 +0200 Subject: [PATCH] Update 1.csp.md --- docs/content/1.documentation/2.headers/1.csp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}}"] }