fix: api script cross-platform

Updated the dev:api script to use `uv run` instead of a hardcoded virtual environment path.

Changes:
- replaced `.venv/bin/uvicorn` with `uv run uvicorn`

Reason:
The previous implementation relied on a POSIX-specific path, which breaks on Windows
(where executables are located in `.venv/Scripts`). Using `uv run` ensures the command
works consistently across different operating systems by resolving the environment automatically.
This commit is contained in:
Adam Morington
2026-04-12 11:37:26 +03:00
committed by GitHub
parent 1c8c4853ae
commit a5d98cd2b3
+1 -1
View File
@@ -7,7 +7,7 @@
"dev": "turbo run dev //#dev:api",
"build": "turbo run build",
"start": "turbo run start",
"dev:api": ".venv/bin/uvicorn api:app --host 0.0.0.0 --port 8000 --reload"
"dev:api": "uv run uvicorn api:app --host 0.0.0.0 --port 8000 --reload"
},
"workspaces": [
"frontend"