From 03be96732762bf5dd8b37ab37f16bf8f1e4c6402 Mon Sep 17 00:00:00 2001 From: Halhadus Date: Thu, 19 Dec 2024 01:53:11 +0300 Subject: [PATCH] Fixed index page redirecting --- websitepart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}')