Skip to content

Commit b102a3d

Browse files
authored
chore(cloud-function): set Referrer-Policy explicitly (#13489)
1 parent 89e027d commit b102a3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloud-function/src/headers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export function setContentResponseHeaders(
9292
{ csp = true, xFrame = true }: { csp?: boolean; xFrame?: boolean }
9393
): void {
9494
[
95+
["Referrer-Policy", "strict-origin-when-cross-origin"],
9596
["X-Content-Type-Options", "nosniff"],
9697
["Strict-Transport-Security", "max-age=63072000"],
9798
...(csp ? [["Content-Security-Policy", CSP_VALUE]] : []),

0 commit comments

Comments
 (0)