forked from indymedia/epicyon
Check shared inbox path
parent
f2d5f51635
commit
810dad25da
14
daemon.py
14
daemon.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue