From c1b74bb35f228ce2ab3fa3af5038866ce9818e2a Mon Sep 17 00:00:00 2001 From: Halhadus Date: Thu, 19 Dec 2024 01:49:36 +0300 Subject: [PATCH] Fixed index page redirecting --- websitepart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/websitepart.py b/websitepart.py index 010c02e..25421b6 100644 --- a/websitepart.py +++ b/websitepart.py @@ -66,6 +66,8 @@ def verifycert(): @app.route('/') def catch_all(path): + if path == '': + return flask.redirect('https://halhadus.rocks') if not path == 'musicstatus.html' or not path == 'verifykey': return flask.redirect(f'https://halhadus.rocks/{path}')