From b968c90c2f78a03b53220163d56bf9123280a8f5 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 20 Nov 2023 12:00:06 +1100 Subject: [PATCH] fix: Exclude no data page from redirecting --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2f1654a..e460d76 100644 --- a/main.py +++ b/main.py @@ -351,7 +351,7 @@ def catch_all(path): account_link = "account" account_link_name = "Account" site = user['domain'] + "." + CITY_DOMAIN - elif path != "signup" and path != "login": + elif path != "signup" and path != "login" and path != "empty_site": return redirect('/') if path == "account":