From 8c137fef2b66d0ad51c54867dc653ec57171f090 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 18 Jun 2022 01:22:56 +0200 Subject: [PATCH] verify cloudflare --- files/routes/static.py | 6 ------ files/templates/default.html | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/files/routes/static.py b/files/routes/static.py index 6c7bec32a..d830ea4ee 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -370,12 +370,6 @@ def settings_security(v): mfa_secret=pyotp.random_base32() if not v.mfa_secret else None ) -@app.get("/.well-known/assetlinks.json") -def googleplayapp(): - with open("files/assets/assetlinks.json", "r", encoding='utf_8') as f: - return Response(f.read(), mimetype='application/json') - - @app.post("/dismiss_mobile_tip") def dismiss_mobile_tip(): diff --git a/files/templates/default.html b/files/templates/default.html index f5846f281..b740f5ca5 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -246,6 +246,21 @@ {% block fixedMobileBarJS %} {% endblock %} + {% if 'slackernews' in request.path %} + + {% elif SITE == 'rdrama.net' %} + + {% elif SITE == 'watchpeopledie.co' %} + + {% elif SITE == 'pcmemes.net' %} + + {% elif SITE == 'cringetopia.org' %} + + {% endif %} + + + +