mirror of https://gitlab.com/bashrc2/epicyon
Banner file format
parent
8982a470ac
commit
251a7efcd6
|
@ -6560,6 +6560,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.YTReplacementDomain,
|
self.server.YTReplacementDomain,
|
||||||
self.server.newswire)
|
self.server.newswire)
|
||||||
msg = msg.replace('/news/', '/' + currNickname + '/')
|
msg = msg.replace('/news/', '/' + currNickname + '/')
|
||||||
|
msg = msg.replace('/banner.webp', '/banner.png')
|
||||||
msg = msg.encode('utf-8')
|
msg = msg.encode('utf-8')
|
||||||
self._set_headers('text/html', len(msg),
|
self._set_headers('text/html', len(msg),
|
||||||
cookie, callingDomain)
|
cookie, callingDomain)
|
||||||
|
|
Loading…
Reference in New Issue