Change endpoint name

main
Bob Mottram 2020-10-12 13:15:30 +01:00
parent 037a414ca9
commit c3d5523b07
2 changed files with 5 additions and 5 deletions

View File

@ -9155,7 +9155,7 @@ class PubServer(BaseHTTPRequestHandler):
if htmlGET and '/users/' in self.path:
print('TEST1 ' + self.path)
if self.path.endswith('/newswire'):
if self.path.endswith('/newswiremobile'):
print('TEST2 ' + self.path)
nickname = getNicknameFromActor(self.path)
if not nickname:

View File

@ -6210,8 +6210,8 @@ def htmlTimeline(defaultTimeline: str,
# the newswire button to show right column links
tlStr += \
' <a class="imageAnchorMobile" href="' + \
usersPath + '/newswire' + \
'"><img loading="lazy" src="/' + iconsDir + \
usersPath + '/newswiremobile">' + \
'<img loading="lazy" src="/' + iconsDir + \
'/newswire.png" title="' + translate['News'] + \
'" alt="| ' + translate['News'] + \
'" class="timelineicon"/></a>\n'
@ -6219,8 +6219,8 @@ def htmlTimeline(defaultTimeline: str,
# the links button to show left column links
tlStr += \
' <a class="imageAnchorMobile" href="' + \
usersPath + '/links' + \
'"><img loading="lazy" src="/' + iconsDir + \
usersPath + '/links">' + \
'<img loading="lazy" src="/' + iconsDir + \
'/links.png" title="' + translate['Edit Links'] + \
'" alt="| ' + translate['Edit Links'] + \
'" class="timelineicon"/></a>\n'