fullscreen

main2
Bob Mottram 2019-10-23 13:30:23 +01:00
parent a496801a87
commit 2bb5d19904
1 changed files with 2 additions and 2 deletions

View File

@ -754,7 +754,7 @@ class PubServer(BaseHTTPRequestHandler):
'/emoji/' not in self.path and \ '/emoji/' not in self.path and \
'/tags/' not in self.path and \ '/tags/' not in self.path and \
'/avatars/' not in self.path and \ '/avatars/' not in self.path and \
'/fullscreen?' not in self.path and \ not self.path.startswith('/fullscreen') 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/'):
@ -973,7 +973,7 @@ class PubServer(BaseHTTPRequestHandler):
return return
# full screen images shown from the media timeline # full screen images shown from the media timeline
if self.path.startswith('/fullscreen?'): if self.path.startswith('/fullscreen'):
imageFilename=self.path.split('?img=')[1] imageFilename=self.path.split('?img=')[1]
if '?' in imageFilename: if '?' in imageFilename:
imageFilename=imageFilename.split('?')[0] imageFilename=imageFilename.split('?')[0]