From 9b8a884ff80230628e1e723e29bd559a07f22766 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 30 Jul 2018 18:42:45 -0500 Subject: [PATCH] Disable Kemal header --- shard.yml | 3 --- src/invidious.cr | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/shard.yml b/shard.yml index 966e3923..63e6e686 100644 --- a/shard.yml +++ b/shard.yml @@ -18,9 +18,6 @@ dependencies: detect_language: github: detectlanguage/detectlanguage-crystal branch: master - sqlite3: - github: crystal-lang/crystal-sqlite3 - branch: master crystal: 0.25.1 diff --git a/src/invidious.cr b/src/invidious.cr index 6ffc75b8..7e181bd9 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2839,6 +2839,7 @@ end public_folder "assets" +Kemal.config.powered_by_header = false add_handler FilteredCompressHandler.new add_context_storage_type(User)