mirror of https://gitlab.com/bashrc2/epicyon
Either http or json
parent
87e828deea
commit
a3b6206481
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue