mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +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.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|
|
||||
|
|
Loading…
Reference in a new issue