Statuses should be visible without login

master
Bob Mottram 2019-08-07 11:25:57 +01:00
parent 28ea6ce342
commit 329e08f8a3
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ class PubServer(BaseHTTPRequestHandler):
if 'text/html' in self.headers['Accept'] and self.path!='/login': if 'text/html' in self.headers['Accept'] and self.path!='/login':
if '/media/' not in self.path and \ if '/media/' not in self.path and \
'/sharefiles/' not in self.path and \ '/sharefiles/' not in self.path and \
'/statuses/' not in self.path and \
'/icons/' not in self.path: '/icons/' not in self.path:
divertToLoginScreen=True divertToLoginScreen=True
if self.path.startswith('/users/'): if self.path.startswith('/users/'):