From 0fedb92f012009f5c7e6abf06917ed4bfb039b8b Mon Sep 17 00:00:00 2001 From: syeopite Date: Fri, 3 Sep 2021 00:53:40 -0700 Subject: [PATCH] Upgrade to Kemal v1.1.0 --- shard.lock | 10 +++++++--- shard.yml | 2 +- src/invidious.cr | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/shard.lock b/shard.lock index bfb54ee1..c08e81fd 100644 --- a/shard.lock +++ b/shard.lock @@ -4,21 +4,25 @@ shards: git: https://github.com/athena-framework/negotiation.git version: 0.1.1 + backtracer: + git: https://github.com/sija/backtracer.cr.git + version: 1.2.1 + db: git: https://github.com/crystal-lang/crystal-db.git version: 0.10.1 exception_page: git: https://github.com/crystal-loot/exception_page.git - version: 0.1.5 + version: 0.2.0 kemal: git: https://github.com/kemalcr/kemal.git - version: 1.0.0 + version: 1.1.0 kilt: git: https://github.com/jeromegn/kilt.git - version: 0.4.1 + version: 0.6.1 lsquic: git: https://github.com/iv-org/lsquic.cr.git diff --git a/shard.yml b/shard.yml index 3292e505..e595c2dd 100644 --- a/shard.yml +++ b/shard.yml @@ -18,7 +18,7 @@ dependencies: version: ~> 0.18.0 kemal: github: kemalcr/kemal - version: ~> 1.0.0 + version: ~> 1.1.0 protodec: github: iv-org/protodec version: ~> 0.1.4 diff --git a/src/invidious.cr b/src/invidious.cr index 27ebd735..5ad2dd91 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1550,4 +1550,5 @@ add_context_storage_type(User) Kemal.config.logger = LOGGER Kemal.config.host_binding = Kemal.config.host_binding != "0.0.0.0" ? Kemal.config.host_binding : CONFIG.host_binding Kemal.config.port = Kemal.config.port != 3000 ? Kemal.config.port : CONFIG.port +Kemal.config.app_name = "Invidious" Kemal.run