diff --git a/files/routes/awards.py b/files/routes/awards.py index 2e0b42dd2..133a18c4c 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -20,7 +20,7 @@ from files.__main__ import app, cache, limiter from .front import frontlist -@app.get("/shop") +@app.get("/shop/awards") @app.get("/settings/shop") @limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID) @auth_required diff --git a/files/routes/hats.py b/files/routes/hats.py index ac804f309..32fdbceb6 100644 --- a/files/routes/hats.py +++ b/files/routes/hats.py @@ -7,7 +7,7 @@ from files.helpers.useractions import * from files.routes.wrappers import * from files.__main__ import app, limiter -@app.get("/hats") +@app.get("/shop/hats") @limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID) @auth_required def hats(v:User): diff --git a/files/templates/hats.html b/files/templates/hats.html index 4d440e61e..19d673e03 100644 --- a/files/templates/hats.html +++ b/files/templates/hats.html @@ -8,10 +8,10 @@
diff --git a/files/templates/header.html b/files/templates/header.html index d8ef571e3..b8f5aace7 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -184,7 +184,7 @@ {% if FEATURES['AWARDS'] -%} {%- endif %} @@ -200,7 +200,7 @@ {% if v.hat_active(v)[0] -%} - {% elif request.path == '/hats' %} + {% elif request.path == '/shop/hats' %} {%- endif %}
diff --git a/files/templates/mobile_navigation_bar.html b/files/templates/mobile_navigation_bar.html index 5a885a524..3a40ea025 100644 --- a/files/templates/mobile_navigation_bar.html +++ b/files/templates/mobile_navigation_bar.html @@ -58,8 +58,8 @@ {%- endif %} {% if FEATURES['AWARDS'] -%}