sfd
This commit is contained in:
parent
cb5fcd7a1d
commit
99755ce4c6
3 changed files with 5 additions and 0 deletions
|
@ -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")
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue