mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Handling unknown subdomains
This commit is contained in:
parent
dffcd484d9
commit
8e20afa41c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue