Skip to content

Commit

Permalink
Update entry.server.tsx
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh authored Nov 16, 2024
1 parent 348d4f3 commit 3238768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/entry.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function applySecurityHeaders(request: Request, responseHeaders: Headers) {

// TODO: fix upstream in @mcansh/http-helmet
if (process.env.NODE_ENV === "production") {
merged.append("upgrade-insecure-requests", "1");
responseHeaders.append("upgrade-insecure-requests", "1");
}

let permissionsPolicy = securityHeaders.get("Permissions-Policy");
Expand Down

0 comments on commit 3238768

Please sign in to comment.