mirror of https://gitlab.com/bashrc2/epicyon
Extra replacement
parent
dd0721a0ad
commit
007dc311be
|
@ -6561,6 +6561,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.YTReplacementDomain,
|
||||
self.server.newswire, moderator)
|
||||
msg = msg.replace('/news/', '/' + currNickname + '/')
|
||||
msg = msg.replace('/users/news"',
|
||||
'/users/' + currNickname + '"')
|
||||
msg = msg.replace('/banner.webp', '/banner.png')
|
||||
msg = msg.encode('utf-8')
|
||||
self._set_headers('text/html', len(msg),
|
||||
|
|
Loading…
Reference in New Issue