mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Remove preload directive
This commit is contained in:
parent
567b9f31f3
commit
1611ee83a6
1 changed files with 0 additions and 4 deletions
|
@ -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