feat: Add console message for localhost https redirect
All checks were successful
Build Docker / Build Image (push) Successful in 21s
All checks were successful
Build Docker / Build Image (push) Successful in 21s
This commit is contained in:
parent
357632e465
commit
834a9acaa3
@ -20,8 +20,7 @@ def index():
|
|||||||
tld = tld.split(':')[0]
|
tld = tld.split(':')[0]
|
||||||
if tld == 'localhost' or tld == '1':
|
if tld == 'localhost' or tld == '1':
|
||||||
tld = 'example'
|
tld = 'example'
|
||||||
https_redirect = ""
|
https_redirect = "<script>console.log('https.js not loaded on localhost')</script>"
|
||||||
|
|
||||||
|
|
||||||
return render_template('index.html', tld=tld, https_redirect=https_redirect)
|
return render_template('index.html', tld=tld, https_redirect=https_redirect)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user