remotes/1693045480750635534/spooky-22
Aevann1 2022-04-28 03:02:37 +02:00
parent 8ae52ed35b
commit 43563ec143
2 changed files with 5 additions and 0 deletions

View File

@ -157,6 +157,7 @@ def notifications(v):
@app.get("/")
@app.get("/catalog")
@app.get("/h/<sub>")
@app.get("/s/<sub>")
@limiter.limit("3/second;30/minute;1000/hour;5000/day")

View File

@ -36,6 +36,10 @@
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=56">
{% endif %}
{% if request.path == '/catalog' %}
<link rel="stylesheet" href="/assets/css/catalog.css?v=1">
{% endif %}
{% if sub and sub.css and not request.path.endswith('settings') %}
<link rel="stylesheet" href="/h/{{sub.name}}/css" type="text/css">
{% endif %}