diff --git a/server.py b/server.py index 5374a87..9d6fc5c 100644 --- a/server.py +++ b/server.py @@ -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)