diff --git a/websitepart.py b/websitepart.py index 25421b6..437641f 100644 --- a/websitepart.py +++ b/websitepart.py @@ -66,7 +66,7 @@ def verifycert(): @app.route('/') def catch_all(path): - if path == '': + if path == None: return flask.redirect('https://halhadus.rocks') if not path == 'musicstatus.html' or not path == 'verifykey': return flask.redirect(f'https://halhadus.rocks/{path}')