Handling unknown subdomains

This commit is contained in:
Samuel Clay 2021-02-28 20:30:45 -05:00
parent dffcd484d9
commit 8e20afa41c

View file

@ -362,7 +362,7 @@ def load_social_page(request, user_id, username=None, **kwargs):
user_following_social_profile = user_social_profile.is_following_user(social_user_id)
social_profile = MSocialProfile.get_user(social_user_id)
if '.dev' in username:
if username and '.dev' in username:
username = username.replace('.dev', '')
current_tab = "blurblogs"
global_feed = False