mirror of https://gitlab.com/bashrc2/epicyon
Not an image
parent
6b3f3d1a64
commit
ca6f735ff3
|
@ -1617,7 +1617,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self._benchmarkGETtimings(GETstartTime, GETtimings, 13)
|
||||
|
||||
# if not authorized then show the login screen
|
||||
if htmlGET and self.path != '/login' and self.path != '/':
|
||||
if htmlGET and self.path != '/login' and \
|
||||
not self.path.endswith('.png') and self.path != '/':
|
||||
if '/media/' not in self.path and \
|
||||
'/sharefiles/' not in self.path and \
|
||||
'/statuses/' not in self.path and \
|
||||
|
|
Loading…
Reference in New Issue