summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsyeopite <70992037+syeopite@users.noreply.github.com>2021-09-10 07:42:15 +0000
committerGitHub <noreply@github.com>2021-09-10 07:42:15 +0000
commita539de4f9729594bc2a8a18cc9eed642582b7d67 (patch)
tree0908ae37179ccfc6a96f3f438df3f0254f32f36b
parent8d5a86727134383138853a024bec172559f38a4f (diff)
downloadinvidious-a539de4f9729594bc2a8a18cc9eed642582b7d67.tar.gz
invidious-a539de4f9729594bc2a8a18cc9eed642582b7d67.tar.bz2
invidious-a539de4f9729594bc2a8a18cc9eed642582b7d67.zip
Bump dependencies (#2378)
* Upgrade to Kemal v1.1.0 * Bump postgres driver
-rw-r--r--shard.lock12
-rw-r--r--shard.yml4
-rw-r--r--src/invidious.cr1
3 files changed, 11 insertions, 6 deletions
diff --git a/shard.lock b/shard.lock
index bfb54ee1..21ea9919 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
@@ -26,7 +30,7 @@ shards:
pg:
git: https://github.com/will/crystal-pg.git
- version: 0.23.2
+ version: 0.24.0
protodec:
git: https://github.com/iv-org/protodec.git
diff --git a/shard.yml b/shard.yml
index 3292e505..b32054e6 100644
--- a/shard.yml
+++ b/shard.yml
@@ -12,13 +12,13 @@ targets:
dependencies:
pg:
github: will/crystal-pg
- version: ~> 0.23.2
+ version: ~> 0.24.0
sqlite3:
github: crystal-lang/crystal-sqlite3
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