mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 02:00:46 +08:00
fix(webcrt): install websockets and connect WS to API in Vite dev
Uvicorn had no WebSocket implementation without the websockets package, causing browser websocket_error. Also bypass flaky Vite WS proxy by targeting :8890 in local UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
183cb7eec9
commit
1f2e028337
5 changed files with 23 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ license = { text = "MIT" }
|
|||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn>=0.30.0",
|
||||
"websockets>=12.0",
|
||||
"httpx>=0.27.0",
|
||||
"sqlalchemy>=2.0.0",
|
||||
"psycopg[binary]>=3.2.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue