From bb1ecb5b6a0ae6045675a05710db6f615175c6a9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 19 Oct 2021 17:42:58 +0200 Subject: [PATCH] fsd --- files/routes/static.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/routes/static.py b/files/routes/static.py index 1ff5517c8..84531a3c6 100755 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -160,6 +160,7 @@ def patrons(v): return render_template("patrons.html", v=v, result=result) @app.get("/admins") +@app.get("/badmins") @auth_desired def admins(v): admins = g.db.query(User).options(lazyload('*')).filter_by(admin_level=6).order_by(User.coins.desc()).all() @@ -167,6 +168,7 @@ def admins(v): @app.get("/log") +@app.get("/modlog") @auth_desired def log(v): @@ -215,6 +217,8 @@ def api(v): return render_template("api.html", v=v) @app.get("/contact") +@app.get("/press") +@app.get("/media") @auth_required def contact(v):