mirror of https://gitlab.com/bashrc2/epicyon
Don;t show options for the news account
parent
99fe61f5b7
commit
e5ec6d4872
|
@ -4492,7 +4492,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
"""
|
"""
|
||||||
optionsStr = path.split('?options=')[1]
|
optionsStr = path.split('?options=')[1]
|
||||||
originPathStr = path.split('?options=')[0]
|
originPathStr = path.split('?options=')[0]
|
||||||
if ';' in optionsStr:
|
if ';' in optionsStr and '/users/news/' not in self.path:
|
||||||
pageNumber = 1
|
pageNumber = 1
|
||||||
optionsList = optionsStr.split(';')
|
optionsList = optionsStr.split(';')
|
||||||
optionsActor = optionsList[0]
|
optionsActor = optionsList[0]
|
||||||
|
|
Loading…
Reference in New Issue