Check shared inbox path

master
Bob Mottram 2019-07-05 11:24:20 +01:00
parent f2d5f51635
commit 810dad25da
1 changed files with 9 additions and 5 deletions

View File

@ -404,11 +404,15 @@ class PubServer(BaseHTTPRequestHandler):
self.server.POSTbusy=False
return
else:
print('DEBUG: POST to shared inbox')
self.send_response(201)
self.end_headers()
self.server.POSTbusy=False
return
if self.path == '/sharedInbox':
print('DEBUG: POST to shared inbox')
self.send_response(201)
self.end_headers()
self.server.POSTbusy=False
return
self.send_response(200)
self.end_headers()
self.server.POSTbusy=False
def runDaemon(baseDir: str,domain: str,port=80,httpPrefix='https',fedList=[],useTor=False,debug=False) -> None:
if len(domain)==0: