forked from indymedia/epicyon
Allow access to mobile versions of newswire and links
parent
e68ebe517a
commit
b11de7e83b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue