Fix SSE server bug with uncaught TypeError
This commit is contained in:
parent
59fff69c38
commit
0970ef4ae0
1 changed files with 13 additions and 25 deletions
|
|
@ -11,7 +11,7 @@ Example usage:
|
|||
# Create Starlette routes for SSE and message handling
|
||||
routes = [
|
||||
Route("/sse", endpoint=handle_sse),
|
||||
Route("/messages", endpoint=handle_messages, methods=["POST"])
|
||||
Mount("/messages", endpoint=handle_messages, methods=["POST"])
|
||||
]
|
||||
|
||||
# Define handler functions
|
||||
|
|
|
|||
Loading…
Reference in a new issue