Either http or json

master
Bob Mottram 2019-08-24 10:33:25 +01:00
parent 87e828deea
commit a3b6206481
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ class PubServer(BaseHTTPRequestHandler):
htmlGET=True htmlGET=True
# replace https://domain/@nick with https://domain/users/nick # replace https://domain/@nick with https://domain/users/nick
if htmlGET and self.path.startswith('/@'): if self.path.startswith('/@'):
self.path=self.path.replace('/@','/users/') self.path=self.path.replace('/@','/users/')
# treat shared inbox paths consistently # treat shared inbox paths consistently