main
Bob Mottram 2020-10-12 13:12:08 +01:00
parent f6d3c1a481
commit 037a414ca9
1 changed files with 4 additions and 0 deletions

View File

@ -9154,14 +9154,18 @@ class PubServer(BaseHTTPRequestHandler):
return return
if htmlGET and '/users/' in self.path: if htmlGET and '/users/' in self.path:
print('TEST1 ' + self.path)
if self.path.endswith('/newswire'): if self.path.endswith('/newswire'):
print('TEST2 ' + self.path)
nickname = getNicknameFromActor(self.path) nickname = getNicknameFromActor(self.path)
if not nickname: if not nickname:
self._404() self._404()
self.server.GETbusy = False self.server.GETbusy = False
return return
print('TEST3 ' + nickname)
timelinePath = \ timelinePath = \
'/users/' + nickname + '/' + self.server.defaultTimeline '/users/' + nickname + '/' + self.server.defaultTimeline
print('TEST4 ' + timelinePath)
msg = htmlNewswireMobile(self.server.baseDir, msg = htmlNewswireMobile(self.server.baseDir,
nickname, nickname,
self.server.domain, self.server.domain,