From b065530cade8b8e160780cfeeba6b203fb7b87a8 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 1 Mar 2024 17:04:01 +1100 Subject: [PATCH] fix: Cleanup some testing code --- main.py | 2 -- templates/auth.html | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 357d6ad..4c12cf6 100644 --- a/main.py +++ b/main.py @@ -118,8 +118,6 @@ def catch_all(path): if 'text/html' in res.headers['Content-Type']: content = res.content.decode('utf-8') content = content.replace(URL, request.host_url) - # TMP: Replace other domains - content = content.replace('https://alee.freeconcept/', request.host_url) response = make_response(content, res.status_code, headers) return response diff --git a/templates/auth.html b/templates/auth.html index cbef74f..bb2835a 100644 --- a/templates/auth.html +++ b/templates/auth.html @@ -46,9 +46,9 @@
-

+

{{error}} -

+

This content is protected

Please verify you own a .{{tld}} domain to access this content