Banner file format

main
Bob Mottram 2020-10-07 21:31:18 +01:00
parent 8982a470ac
commit 251a7efcd6
1 changed files with 1 additions and 0 deletions

View File

@ -6560,6 +6560,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.YTReplacementDomain,
self.server.newswire)
msg = msg.replace('/news/', '/' + currNickname + '/')
msg = msg.replace('/banner.webp', '/banner.png')
msg = msg.encode('utf-8')
self._set_headers('text/html', len(msg),
cookie, callingDomain)