fix: Exclude no data page from redirecting
This commit is contained in:
parent
fa5915b0df
commit
b968c90c2f
2
main.py
2
main.py
@ -351,7 +351,7 @@ def catch_all(path):
|
|||||||
account_link = "account"
|
account_link = "account"
|
||||||
account_link_name = "Account"
|
account_link_name = "Account"
|
||||||
site = user['domain'] + "." + CITY_DOMAIN
|
site = user['domain'] + "." + CITY_DOMAIN
|
||||||
elif path != "signup" and path != "login":
|
elif path != "signup" and path != "login" and path != "empty_site":
|
||||||
return redirect('/')
|
return redirect('/')
|
||||||
|
|
||||||
if path == "account":
|
if path == "account":
|
||||||
|
Loading…
Reference in New Issue
Block a user