diff --git a/src/invidious.cr b/src/invidious.cr index 36450676..b6356a51 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -90,6 +90,8 @@ YT_URL = URI.parse("https://www.youtube.com") REDDIT_URL = URI.parse("https://www.reddit.com") LOGIN_URL = URI.parse("https://accounts.google.com") TEXTCAPTCHA_URL = URI.parse("http://textcaptcha.com/omarroth@hotmail.com.json") +CURRENT_COMMIT = `git rev-list HEAD --max-count=1 --abbrev-commit`.strip +CURRENT_VERSION = `git describe --tags $(git rev-list --tags --max-count=1)`.strip LOCALES = { "ar" => load_locale("ar"), @@ -119,6 +121,12 @@ config.video_threads.times do |i| end end +# stats = Statistics.new +# if config.statistics +# spawn do +# end +# end + top_videos = [] of Video if config.top_enabled spawn do diff --git a/src/invidious/views/subscriptions.ecr b/src/invidious/views/subscriptions.ecr index 109da18f..f1b72aaa 100644 --- a/src/invidious/views/subscriptions.ecr +++ b/src/invidious/views/subscriptions.ecr @@ -72,7 +72,7 @@ function mark_watched(target) { } -
+
<%= content %> +
+
+