Correct X-Frame-Options value sameorigin→SAMEORIGIN

This commit is contained in:
Laurence Withers 2022-07-06 10:15:28 +01:00
parent 6ea49bb3b3
commit 8cae4d0f8f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func New(packfile string) (*Handler, error) {
}
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
h.SetHeader("X-Frame-Options", "sameorigin")
h.SetHeader("X-Frame-Options", "SAMEORIGIN")
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
h.SetHeader("X-Content-Type-Options", "nosniff")