feat: Add console message for localhost https redirect
All checks were successful
Build Docker / Build Image (push) Successful in 21s

This commit is contained in:
Nathan Woodburn 2023-11-02 19:42:18 +11:00
parent 357632e465
commit 834a9acaa3
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -20,8 +20,7 @@ def index():
tld = tld.split(':')[0]
if tld == 'localhost' or tld == '1':
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)