Skip to content

Commit adf0c86

Browse files
committed
fix: disable xss per https://github.com/helmetjs/helmet/issues/230\#issuecomment-1500157600 and Hardenize report suggestions
1 parent 16dfb18 commit adf0c86

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config/web.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ module.exports = (redis) => ({
163163
referrerPolicy: {
164164
policy: 'same-origin'
165165
},
166-
xssFilter: {
167-
reportUri
168-
}
166+
xssFilter: false
169167
},
170168
session: {
171169
errorHandler(err, type, ctx) {

0 commit comments

Comments
 (0)