From 52c5dd6028b87562489534a84e765b14aedb2a4c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 30 Sep 2022 14:20:53 +0200 Subject: [PATCH] disable /search/comments for now --- files/routes/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/search.py b/files/routes/search.py index 0444d3b66..771b50d35 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -185,7 +185,7 @@ def searchposts(v): @auth_required def searchcomments(v): - + abort(403) query = request.values.get("q", '').strip() try: page = max(1, int(request.values.get("page", 1)))