mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Fix misspelled "referrer" in site.go (#3507)
This commit is contained in:
+1
-1
@@ -346,7 +346,7 @@ func secureHeaders(next http.Handler) http.Handler {
|
||||
return secure.New(secure.Options{
|
||||
PermissionsPolicy: permissions,
|
||||
|
||||
// Prevent the browser from sending Referer header with requests
|
||||
// Prevent the browser from sending Referrer header with requests
|
||||
ReferrerPolicy: "no-referrer",
|
||||
}).Handler(cspHeaders(next))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user