From aee7e1ae41563a12b31ed592caaea225ca82eda2 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 10 Jan 2022 14:58:10 -0800 Subject: [PATCH] Fixes redirect on reports modal --- bookwyrm/views/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/report.py b/bookwyrm/views/report.py index 71646e287..6469f3cb0 100644 --- a/bookwyrm/views/report.py +++ b/bookwyrm/views/report.py @@ -36,4 +36,4 @@ class Report(View): domain.status = "pending" domain.save() emailing.moderation_report_email(report) - return redirect(request.headers.get("Referer", "/")) + return redirect("/")