fix: Cleanup some testing code
All checks were successful
Build Docker / Build Docker (push) Successful in 43s

This commit is contained in:
Nathan Woodburn 2024-03-01 17:04:01 +11:00
parent f129e2d722
commit b065530cad
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -46,9 +46,9 @@
<body>
<div>
<h1 style="color: red;" id="error">
<h2 style="color: red;" id="error">
{{error}}
</h1>
</h2>
<h1>This content is protected</h1>
<p>Please verify you own a <bold>.{{tld}}</bold> domain to access this content</p>
<script>