From e58167fd1aa774b4c5b9e3624dc88633704f943a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 28 Feb 2022 02:44:40 +0200 Subject: [PATCH] fds --- files/routes/subs.py | 2 +- files/templates/home.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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}}