Skip to content

Commit

Permalink
Merge pull request #490 from Simlor/patch-2
Browse files Browse the repository at this point in the history
Indentation corrected
  • Loading branch information
Baroshem authored Jul 15, 2024
2 parents c8a9a7c + 76bab37 commit 02b8280
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/content/1.documentation/2.headers/1.csp.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ export default defineNuxtConfig({
// Global
security: {
nonce: true, // Enables HTML nonce support in SSR mode
},
headers: {
contentSecurityPolicy: {
'script-src': [
"'strict-dynamic'", // Modify with your custom CSP sources
"'nonce-{{nonce}}'" // Enables CSP nonce support for scripts in SSR mode, supported by almost any browser (level 2)
]
}
headers: {
contentSecurityPolicy: {
'script-src': [
"'strict-dynamic'", // Modify with your custom CSP sources
"'nonce-{{nonce}}'" // Enables CSP nonce support for scripts in SSR mode, supported by almost any browser (level 2)
]
}
},
},

// Per route
Expand Down

0 comments on commit 02b8280

Please sign in to comment.