Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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.")
|