feat: Add ownthedot.com
All checks were successful
Build Docker / Build Image (push) Successful in 1m1s

This commit is contained in:
2026-01-30 21:09:05 +11:00
committed by Woodburn
parent b1c6122b4e
commit 1987551aca

View File

@@ -403,6 +403,8 @@ def index():
if 'localhost' in request.host or '127.0.0.1' in request.host or DEV:
hns_scripts = ''
if 'ownthedot.com' in request.host:
return render_template('ownthedot.html', year=year)
tld = request.host.split('.')[-1]
if tld not in tlds and 'localhost' not in tld:
return render_template('index.html',year=year, handshake_scripts=hns_scripts)