Skip to content

Invidious is an alternative front-end to YouTube

Make sure client gets returned to pool

Omar Roth0e704056a17e
diff --git a/src/invidious.cr b/src/invidious.cr
index 53721d7b..592028e3 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -203,6 +203,8 @@ get "/watch" do |env|
calculated_rating = 0.0
end
+ pool << client
+
templated "watch"
end