Put start agent/call at localhost root. Before you had to read in the docs to go to /start, or /start_call or /start_bot. Which isn't mentioned in the console output, and is inconsistent, adding friction to learning the codebase
This commit is contained in:
@@ -19,7 +19,7 @@ app.add_middleware(
|
||||
)
|
||||
|
||||
|
||||
@app.post("/start_call")
|
||||
@app.post("/")
|
||||
async def start_call():
|
||||
print("POST TwiML")
|
||||
return HTMLResponse(content=open("templates/streams.xml").read(), media_type="application/xml")
|
||||
|
||||
Reference in New Issue
Block a user