fix: Python server dependency resolution and Docker host validation (#333)
* fix(say-server): add --index flag to uv run for PyPI resolution The pocket-tts dependency wasn't resolving without explicit --index flag when invoked via npm scripts. * fix(qr-server): allow Docker bridge IP in transport security Add 172.17.0.1:* to allowed_hosts to fix 421 Misdirected Request errors when the server is accessed from Docker containers.
This commit is contained in:
parent
cfcbc9605f
commit
ee5d3f85ac
1 changed files with 8 additions and 3 deletions
|
|
@ -10,8 +10,8 @@
|
|||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "uv run server.py",
|
||||
"dev": "uv run server.py",
|
||||
"start": "uv run --index https://pypi.org/simple server.py",
|
||||
"dev": "uv run --index https://pypi.org/simple server.py",
|
||||
"build": "echo 'No build step needed for Python server'"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue