mirror of https://gitlab.com/bashrc2/epicyon
Debug for @ headers
parent
a39cd6201a
commit
c8cd5ab9bd
|
@ -9770,6 +9770,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# replace https://domain/@nick with https://domain/users/nick
|
# replace https://domain/@nick with https://domain/users/nick
|
||||||
if self.path.startswith('/@'):
|
if self.path.startswith('/@'):
|
||||||
self.path = self.path.replace('/@', '/users/')
|
self.path = self.path.replace('/@', '/users/')
|
||||||
|
print('@ detected: ' + str(self.headers))
|
||||||
|
|
||||||
# redirect music to #nowplaying list
|
# redirect music to #nowplaying list
|
||||||
if self.path == '/music' or self.path == '/nowplaying':
|
if self.path == '/music' or self.path == '/nowplaying':
|
||||||
|
|
Loading…
Reference in New Issue