fix: Cleanup some testing code
All checks were successful
Build Docker / Build Docker (push) Successful in 43s
All checks were successful
Build Docker / Build Docker (push) Successful in 43s
This commit is contained in:
parent
f129e2d722
commit
b065530cad
2
main.py
2
main.py
@ -118,8 +118,6 @@ def catch_all(path):
|
|||||||
if 'text/html' in res.headers['Content-Type']:
|
if 'text/html' in res.headers['Content-Type']:
|
||||||
content = res.content.decode('utf-8')
|
content = res.content.decode('utf-8')
|
||||||
content = content.replace(URL, request.host_url)
|
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)
|
response = make_response(content, res.status_code, headers)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
@ -46,9 +46,9 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1 style="color: red;" id="error">
|
<h2 style="color: red;" id="error">
|
||||||
{{error}}
|
{{error}}
|
||||||
</h1>
|
</h2>
|
||||||
<h1>This content is protected</h1>
|
<h1>This content is protected</h1>
|
||||||
<p>Please verify you own a <bold>.{{tld}}</bold> domain to access this content</p>
|
<p>Please verify you own a <bold>.{{tld}}</bold> domain to access this content</p>
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user