Skip to content

Commit

Permalink
fix: disable xss per helmetjs/helmet#230 and Hardenize report suggest…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
titanism committed Apr 7, 2023
1 parent 960c627 commit 50529bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ module.exports = (redis) => ({
referrerPolicy: {
policy: 'same-origin'
},
xssFilter: {
reportUri
}
xssFilter: false
},
session: {
errorHandler(err, type, ctx) {
Expand Down

0 comments on commit 50529bc

Please sign in to comment.