rename path

master
Aevann 2023-05-03 17:45:14 +03:00
parent 4adb6b32e4
commit 90127ffa27
2 changed files with 3 additions and 3 deletions

View File

@ -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'])

View File

@ -59,7 +59,7 @@
<li><a href="/grassed">Currently Grassed Users</a></li>
{%- endif %}
{% if FEATURES['MARSEYBUX'] and v.admin_level >= PERMS['VIEW_PATRONS'] -%}
<li><a href="/patrons">Patrons</a></li>
<li><a href="/admin/patrons">Patrons</a></li>
{%- endif %}
{% if v.admin_level >= PERMS['VIEW_ACTIVE_USERS'] %}
<li><a href="/admin/loggedin">Currently Logged-in Users</a></li>