Debug for @ headers

merge-requests/30/head
Bob Mottram 2021-01-21 11:14:23 +00:00
parent a39cd6201a
commit c8cd5ab9bd
1 changed files with 1 additions and 0 deletions

View File

@ -9770,6 +9770,7 @@ class PubServer(BaseHTTPRequestHandler):
# replace https://domain/@nick with https://domain/users/nick
if self.path.startswith('/@'):
self.path = self.path.replace('/@', '/users/')
print('@ detected: ' + str(self.headers))
# redirect music to #nowplaying list
if self.path == '/music' or self.path == '/nowplaying':