From c358590e449d5391a3a9e2916de6e03117186979 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 7 May 2023 21:56:40 +0300 Subject: [PATCH] remove unnecessary route now --- files/routes/static.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/routes/static.py b/files/routes/static.py index 6f1185f08..d25dc4db8 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -51,12 +51,10 @@ def get_marseys(db:scoped_session): return marseys @app.get("/marseys") -@app.get("/marseys/all") @limiter.limit(DEFAULT_RATELIMIT) @limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID) @auth_required def marseys(v:User): - if SITE_NAME != 'rDrama': abort(404)