Skip to content

Commit

Permalink
Add missing comma in example xss-validator
Browse files Browse the repository at this point in the history
  • Loading branch information
boring-dragon authored Oct 6, 2023
1 parent 7a9dfd6 commit 58e49a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/2.security/4.xss-validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To write a custom logic for this middleware follow this pattern:
export default defineNuxtConfig({
security: {
xssValidator: {
stripIgnoreTag: true
stripIgnoreTag: true,
throwError: false, // optional
}
}
Expand All @@ -37,7 +37,7 @@ export default defineNuxtConfig({
'/my-secret-route': {
security: {
xssValidator: {
stripIgnoreTag: true
stripIgnoreTag: true,
throwError: false, // optional
}
}
Expand Down

0 comments on commit 58e49a9

Please sign in to comment.