Skip to content

Commit

Permalink
Update 1.csp.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic-Marcelino authored Apr 11, 2024
1 parent 59bdb4c commit 1a230b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/1.documentation/2.headers/1.csp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"]
}
Expand Down

0 comments on commit 1a230b8

Please sign in to comment.