forked from rDrama/rDrama
1
0
Fork 0

dsMerge branch 'frost' of https://github.com/Aevann1/Drama into frost

master
Aevann1 2022-04-28 01:04:17 +00:00
commit 31c2e8feec
4 changed files with 8 additions and 3 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 %}

View File

@ -172,7 +172,7 @@
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="/report_bugs"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
{% endif %}
{% if request.host != 'pcmemes.net' %}
{% if request.host not in ('pcmemes.net','watchpeopledie.co') %}
<a class="dropdown-item" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
{% endif %}
{% if SITE_NAME != 'Cringetopia' %}
@ -228,7 +228,7 @@
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://github.com/Aevann1/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source code</a>
{% if request.host != 'pcmemes.net' %}
{% if request.host not in ('pcmemes.net','watchpeopledie.co') %}
<a class="nav-item nav-link" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
{% endif %}
{% if SITE_NAME != 'Cringetopia' %}

View File

@ -310,7 +310,7 @@
</div>
{% if request.host != 'pcmemes.net' %}
{% if request.host not in ('pcmemes.net','watchpeopledie.co') %}
<h2 class="h5" name="referral">Linked Accounts</h2>
<p class="text-small text-muted">Manage your connections to other services.</p>