Fixed index page redirecting

This commit is contained in:
Halhadus 2024-12-19 01:53:11 +03:00
parent c1b74bb35f
commit 03be967327

View file

@ -66,7 +66,7 @@ def verifycert():
@app.route('/<path:path>')
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}')