Allow access to mobile versions of newswire and links

main
Bob Mottram 2020-10-30 18:12:29 +00:00
parent e68ebe517a
commit b11de7e83b
1 changed files with 4 additions and 1 deletions

View File

@ -9129,7 +9129,10 @@ class PubServer(BaseHTTPRequestHandler):
# if not authorized then show the login screen # if not authorized then show the login screen
if htmlGET and self.path != '/login' and \ if htmlGET and self.path != '/login' and \
not self._pathIsImage(self.path) and self.path != '/': not self._pathIsImage(self.path) and \
self.path != '/' and \
self.path != '/users/news/linksmobile' and \
self.path != '/users/news/newswiremobile':
if self._redirectToLoginScreen(callingDomain, self.path, if self._redirectToLoginScreen(callingDomain, self.path,
self.server.httpPrefix, self.server.httpPrefix,
self.server.domainFull, self.server.domainFull,