Skip to content

Invidious is an alternative front-end to YouTube

Fix updating of cookies

Omar Roth8af87f1a8b89
diff --git a/src/invidious.cr b/src/invidious.cr
index 96c3d6e9..94ea1d92 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -220,6 +220,7 @@ if CONFIG.captcha_key
end
# Persist cookies between runs
+ CONFIG.cookies = config.cookies
File.write("config/config.yml", config.to_yaml)
end
end