AgentizedSolutions commited on
Commit
cc7f026
·
verified ·
1 Parent(s): 58b78ea

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -15,6 +15,7 @@ async def root():
15
  return {"status": "error", "message": "404 Not Found - Service Under Construction"}
16
 
17
  @app.post("/listener")
 
18
  async def listen_webhook(request: Request):
19
  if not TARGET_SPACE_URL or not HF_TOKEN:
20
  raise HTTPException(status_code=500, detail="Bridge configuration missing.")
 
15
  return {"status": "error", "message": "404 Not Found - Service Under Construction"}
16
 
17
  @app.post("/listener")
18
+ @app.post("/listener/")
19
  async def listen_webhook(request: Request):
20
  if not TARGET_SPACE_URL or not HF_TOKEN:
21
  raise HTTPException(status_code=500, detail="Bridge configuration missing.")