summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-06 08:45:04 -0600
committerOmar Roth <omarroth@hotmail.com>2019-03-06 08:45:04 -0600
commitbc9d70109c9f6e966b5d27a0ab617e578cdfc604 (patch)
tree212f3138245ada279aaebf8ab2b570ecef18b4a1
parent7448159d6bb7295bdbf2a54ffed3d926c9b6beb5 (diff)
downloadinvidious-bc9d70109c9f6e966b5d27a0ab617e578cdfc604.tar.gz
invidious-bc9d70109c9f6e966b5d27a0ab617e578cdfc604.tar.bz2
invidious-bc9d70109c9f6e966b5d27a0ab617e578cdfc604.zip
Fix typo in index
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 3f2dba66..fa4f4a17 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -264,7 +264,7 @@ get "/" do |env|
if user
user = user.as(User)
if user.preferences.redirect_feed
- env.redirect "/feed/subscriptions"
+ next env.redirect "/feed/subscriptions"
end
end