Skip to content

Commit

Permalink
Merge pull request #424 from Dominic-Marcelino/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem authored Apr 11, 2024
2 parents 59bdb4c + 1a230b8 commit 6d01c08
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 6d01c08

Please sign in to comment.