Remove preload directive

pull/143/head
Omar Roth 6 years ago
parent 567b9f31f3
commit 1611ee83a6

@ -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|

Loading…
Cancel
Save