diff --git a/docs/content/2.security/4.xss-validator.md b/docs/content/2.security/4.xss-validator.md index b8ab5a84..9edb4a83 100644 --- a/docs/content/2.security/4.xss-validator.md +++ b/docs/content/2.security/4.xss-validator.md @@ -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 } } @@ -37,7 +37,7 @@ export default defineNuxtConfig({ '/my-secret-route': { security: { xssValidator: { - stripIgnoreTag: true + stripIgnoreTag: true, throwError: false, // optional } }