Fixed index page redirecting
This commit is contained in:
parent
c1b74bb35f
commit
03be967327
1 changed files with 1 additions and 1 deletions
|
@ -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}')
|
||||
|
|
Loading…
Reference in a new issue