diff --git a/daemon.py b/daemon.py index 1ba12cde..319905b9 100644 --- a/daemon.py +++ b/daemon.py @@ -2687,7 +2687,7 @@ class PubServer(BaseHTTPRequestHandler): True,self.server.ocapAlways) if bookmarksFeed: if self._requestHTTP(): - nickname=self.path.replace('/users/','').replace('/inbox','') + nickname=self.path.replace('/users/','').replace('/tlbookmarks','') pageNumber=1 if '?page=' in nickname: pageNumber=nickname.split('?page=')[1] @@ -2732,7 +2732,7 @@ class PubServer(BaseHTTPRequestHandler): return else: if self.server.debug: - nickname=self.path.replace('/users/','').replace('/inbox','') + nickname=self.path.replace('/users/','').replace('/tlbookmarks','') print('DEBUG: '+nickname+ \ ' was not authorized to access '+self.path) if self.server.debug: diff --git a/webinterface.py b/webinterface.py index bed3ec9c..9a38c555 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2354,7 +2354,7 @@ def htmlTimeline(translate: {},pageNumber: int, \ manuallyApproveFollowers: bool) -> str: """Show the timeline as html """ - accountDir=baseDir+'/accounts/'+nickname+'@'+domain + accountDir=baseDir+'/accounts/'+nickname+'@'+domain # should the calendar icon be highlighted? calendarImage='calendar.png'