Commit b3f045c
committed
fix: use sse_app() instead of http_app() for SSE endpoints
- FastMCP http_app() only provides /mcp endpoint (not SSE)
- FastMCP sse_app() provides /sse/ endpoint (what we need)
- Using deprecated sse_app() but suppressing warning since it's required for SSE
- SSE endpoint now accessible: http://localhost:8000/sse/ returns 200 OK
- CORS headers still working: access-control-allow-origin: *
- Browser SSE client can now connect successfully1 parent 55187cf commit b3f045c
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | | - | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments