From 1611ee83a63db9535a218880df16f2c7c2d7d30e Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 18 Aug 2018 10:05:04 -0500 Subject: [PATCH] Remove preload directive --- src/invidious.cr | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index 290687e9..6f69d045 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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|