From 43563ec14352736b9d84784cde52fc8a0bd4725f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 28 Apr 2022 03:02:37 +0200 Subject: [PATCH] sfd --- files/routes/front.py | 1 + files/templates/default.html | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/files/routes/front.py b/files/routes/front.py index 4de5611482..ccab8637c6 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -157,6 +157,7 @@ def notifications(v): @app.get("/") +@app.get("/catalog") @app.get("/h/") @app.get("/s/") @limiter.limit("3/second;30/minute;1000/hour;5000/day") diff --git a/files/templates/default.html b/files/templates/default.html index b242457a79..ba92bd9de3 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -36,6 +36,10 @@ {% endif %} + {% if request.path == '/catalog' %} + + {% endif %} + {% if sub and sub.css and not request.path.endswith('settings') %} {% endif %}