Remove preload directive

This commit is contained in:
Omar Roth 2018-08-18 10:05:04 -05:00
parent 567b9f31f3
commit 1611ee83a6

View file

@ -2707,10 +2707,6 @@ if Kemal.config.ssl
server.bind_tcp "0.0.0.0", 80 server.bind_tcp "0.0.0.0", 80
server.listen server.listen
end end
before_all do |env|
env.response.headers.add("Strict-Transport-Security", "max-age=31536000; includeSubDomains; preload")
end
end end
static_headers do |response, filepath, filestat| static_headers do |response, filepath, filestat|