We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89e027d commit b102a3dCopy full SHA for b102a3d
cloud-function/src/headers.ts
@@ -92,6 +92,7 @@ export function setContentResponseHeaders(
92
{ csp = true, xFrame = true }: { csp?: boolean; xFrame?: boolean }
93
): void {
94
[
95
+ ["Referrer-Policy", "strict-origin-when-cross-origin"],
96
["X-Content-Type-Options", "nosniff"],
97
["Strict-Transport-Security", "max-age=63072000"],
98
...(csp ? [["Content-Security-Policy", CSP_VALUE]] : []),
0 commit comments