diff --git a/files/routes/static.py b/files/routes/static.py index 98ae3197b..e3284e9c5 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -124,8 +124,8 @@ def weekly_chart(v:User): def daily_chart(v:User): return send_file(statshelper.chart_path(kind="daily", site=SITE)) -@app.get("/patrons") -@app.get("/paypigs") +@app.get("/admin/patrons") +@app.get("/admin/paypigs") @limiter.limit(DEFAULT_RATELIMIT) @limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID) @admin_level_required(PERMS['VIEW_PATRONS']) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 9c7d34d45..44d24a485 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -59,7 +59,7 @@