Skip to content

Commit

Permalink
[FIX] #123, referrer policy to allow authorization for stadia
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Sep 9, 2024
1 parent 4fc6b1a commit f92f65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ app.use((req, res, next) => { // clean up IPv6 Addresses
})

if (process.env.NODE_ENV != "development") {
app.use(helmet({ contentSecurityPolicy: { directives: { "default-src": "'self'", "img-src": "*" } } }));
app.use(helmet({ contentSecurityPolicy: { directives: { "default-src": "'self'", "img-src": "*" } }, referrerPolicy: { policy: "strict-origin-when-cross-origin" } }));
}
app.use(cache);
app.use(compression())
Expand Down

0 comments on commit f92f65a

Please sign in to comment.