diff --git a/files/routes/subs.py b/files/routes/subs.py index 8db5c2b51..607d1b3e2 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -439,7 +439,7 @@ def sub_sidebar(v, sub): return redirect(f'/s/{sub.name}/settings') -@app.post("/sub_toggle/") +@app.get("/sub_toggle/") def sub_toggle(mode): if mode in ('Exclude subs', 'Include subs', 'View subs only'): session["subs"] = mode return redirect('/') diff --git a/files/templates/home.html b/files/templates/home.html index 8d118a009..7e473e4e1 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -48,9 +48,9 @@ {{subs | capitalize}}