Skip to content

Commit a9e09a3

Browse files
committed
turn off referrerPolicy security header
1 parent 207ea9e commit a9e09a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ app.use(compression())
6969
app.disable('x-powered-by')
7070

7171
app.use((_, res, next) => {
72-
helmet(res)
72+
helmet(res, { general: { referrerPolicy: false } })
7373
next()
7474
})
7575

0 commit comments

Comments
 (0)