mirror of https://gitlab.com/bashrc2/epicyon
Redirect to default timeline
parent
d8bf3cefbf
commit
2a20ee2cc5
|
@ -4546,6 +4546,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
'registered devices done',
|
||||
'person options')
|
||||
return
|
||||
|
||||
if '/users/news/' in path:
|
||||
self._redirect_headers('/', cookie, callingDomain)
|
||||
return
|
||||
|
||||
if callingDomain.endswith('.onion') and onionDomain:
|
||||
originPathStrAbsolute = \
|
||||
'http://' + onionDomain + originPathStr
|
||||
|
|
Loading…
Reference in New Issue