diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-06 19:42:20 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-06 19:42:20 -0500 |
| commit | 4c3e865ea23f14f7ab05a3c3e5458be35843bccb (patch) | |
| tree | 9b3cfc30e649525a4c0ae83c6df623653b2bc0fa | |
| parent | 4f3d8a8ef641ab48b9dbffb6292b3d260cb15f9f (diff) | |
| download | invidious-4c3e865ea23f14f7ab05a3c3e5458be35843bccb.tar.gz invidious-4c3e865ea23f14f7ab05a3c3e5458be35843bccb.tar.bz2 invidious-4c3e865ea23f14f7ab05a3c3e5458be35843bccb.zip | |
Fix infinite redirect for '/preferences'
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 6cdfc811..defd3254 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -699,7 +699,7 @@ get "/preferences" do |env| user = user.as(User) templated "preferences" else - env.redirect referer + env.redirect "/" end end |
