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',
|
'registered devices done',
|
||||||
'person options')
|
'person options')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if '/users/news/' in path:
|
||||||
|
self._redirect_headers('/', cookie, callingDomain)
|
||||||
|
return
|
||||||
|
|
||||||
if callingDomain.endswith('.onion') and onionDomain:
|
if callingDomain.endswith('.onion') and onionDomain:
|
||||||
originPathStrAbsolute = \
|
originPathStrAbsolute = \
|
||||||
'http://' + onionDomain + originPathStr
|
'http://' + onionDomain + originPathStr
|
||||||
|
|
Loading…
Reference in New Issue