summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile1
-rw-r--r--shard.lock8
-rw-r--r--shard.yml8
-rw-r--r--src/invidious.cr1
4 files changed, 10 insertions, 8 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7d4932fc..d93f2868 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -31,5 +31,6 @@ COPY ./config/sql/ ./config/sql/
COPY ./locales/ ./locales/
COPY --from=builder /invidious/invidious .
+EXPOSE 3000
USER invidious
CMD [ "/invidious/invidious" ]
diff --git a/shard.lock b/shard.lock
index 1cf34ae7..5dbac470 100644
--- a/shard.lock
+++ b/shard.lock
@@ -2,7 +2,7 @@ version: 2.0
shards:
db:
git: https://github.com/crystal-lang/crystal-db.git
- version: 0.9.0
+ version: 0.10.0
exception_page:
git: https://github.com/crystal-loot/exception_page.git
@@ -10,7 +10,7 @@ shards:
kemal:
git: https://github.com/kemalcr/kemal.git
- version: 0.26.1+git.commit.dfe7dca08f4c9a9456d6132af5f6b59fcd6865e4
+ version: 0.27.0
kilt:
git: https://github.com/jeromegn/kilt.git
@@ -22,7 +22,7 @@ shards:
pg:
git: https://github.com/will/crystal-pg.git
- version: 0.21.1
+ version: 0.22.1
pool:
git: https://github.com/ysbaddaden/pool.git
@@ -38,5 +38,5 @@ shards:
sqlite3:
git: https://github.com/crystal-lang/crystal-sqlite3.git
- version: 0.16.0
+ version: 0.17.0
diff --git a/shard.yml b/shard.yml
index f9af9cb8..2b59786e 100644
--- a/shard.yml
+++ b/shard.yml
@@ -11,19 +11,19 @@ targets:
dependencies:
pg:
github: will/crystal-pg
- version: ~> 0.21.1
+ version: ~> 0.22.1
sqlite3:
github: crystal-lang/crystal-sqlite3
- version: ~> 0.16.0
+ version: ~> 0.17.0
kemal:
github: kemalcr/kemal
- commit: dfe7dca08f4c9a9456d6132af5f6b59fcd6865e4
+ version: ~> 0.27.0
pool:
github: ysbaddaden/pool
version: ~> 0.2.3
protodec:
github: omarroth/protodec
- version: ~> 0.1.2
+ version: ~> 0.1.3
lsquic:
github: iv-org/lsquic.cr
version: ~> 2.18.1-1
diff --git a/src/invidious.cr b/src/invidious.cr
index 2ddd3d0d..43b1a6d9 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -1544,6 +1544,7 @@ get "/feed/channel/:ucid" do |env|
xml.element("link", rel: "self", href: "#{HOST_URL}#{env.request.resource}")
xml.element("id") { xml.text "yt:channel:#{channel.ucid}" }
xml.element("yt:channelId") { xml.text channel.ucid }
+ xml.element("icon") { xml.text channel.author_thumbnail }
xml.element("title") { xml.text channel.author }
xml.element("link", rel: "alternate", href: "#{HOST_URL}/channel/#{channel.ucid}")