Skip to content

Commit

Permalink
docs: update route rules docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed Nov 16, 2023
1 parent 8370a8a commit c43b75e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 @@ -29,7 +29,7 @@ export default defineNuxtConfig({
routeRules: {
'/custom-route': {
headers: {
'Content-Security-Policy': <OPTIONS>
'Content-Security-Policy': 'default-src 'self'; img-src https://*; child-src 'none';'
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineNuxtConfig({
routeRules: {
'/custom-route': {
headers: {
'Permissions-Policy': <OPTIONS>
'Permissions-Policy': 'camera=(), display-capture=(),'
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineNuxtConfig({
routeRules: {
'/custom-route': {
headers: {
'Strict-Transport-Security': <OPTIONS>
'Strict-Transport-Security': 'max-age=15552000; includeSubDomains'
},
}
}
Expand Down

0 comments on commit c43b75e

Please sign in to comment.