Skip to content

Commit

Permalink
Merge pull request #234 from boring-dragon/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem authored Oct 6, 2023
2 parents 0d36fec + 58e49a9 commit 8dc3c47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/2.security/3.rate-limiter.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineNuxtConfig({
rateLimiter: {
tokensPerInterval: 200,
interval: "day",
fireImmediately: false
fireImmediately: false,
throwError: false, // optional
}
}
Expand Down
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

1 comment on commit 8dc3c47

@vercel
Copy link

@vercel vercel bot commented on 8dc3c47 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nuxt-security – ./

nuxt-security.vercel.app
nuxt-security-baroshem.vercel.app
nuxt-security-git-main-baroshem.vercel.app

Please sign in to comment.