Remove preload directive
This commit is contained in:
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…
Reference in a new issue