summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-08-18 10:05:04 -0500
committerOmar Roth <omarroth@hotmail.com>2018-08-18 10:05:04 -0500
commit1611ee83a63db9535a218880df16f2c7c2d7d30e (patch)
treef0c38d16b2f764d6d0dac7061690ac72df2d566c
parent567b9f31f3140eb3723d14dbd2ed17483fb36847 (diff)
downloadinvidious-1611ee83a63db9535a218880df16f2c7c2d7d30e.tar.gz
invidious-1611ee83a63db9535a218880df16f2c7c2d7d30e.tar.bz2
invidious-1611ee83a63db9535a218880df16f2c7c2d7d30e.zip
Remove preload directive
-rw-r--r--src/invidious.cr4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 290687e9..6f69d045 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -2707,10 +2707,6 @@ if Kemal.config.ssl
server.bind_tcp "0.0.0.0", 80
server.listen
end
-
- before_all do |env|
- env.response.headers.add("Strict-Transport-Security", "max-age=31536000; includeSubDomains; preload")
- end
end
static_headers do |response, filepath, filestat|