From 2a20ee2cc509539f650fc6f16cf87d0bdaefbf27 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Oct 2020 23:01:04 +0000 Subject: [PATCH] Redirect to default timeline --- daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon.py b/daemon.py index 584e859f9..aeab3a979 100644 --- a/daemon.py +++ b/daemon.py @@ -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