Redirect to default timeline

main
Bob Mottram 2020-10-25 23:01:04 +00:00
parent d8bf3cefbf
commit 2a20ee2cc5
1 changed files with 5 additions and 0 deletions

View File

@ -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