feat: add DEV_MODE configuration and implement dev-token endpoint for authentication
This commit is contained in:
2
dev.sh
2
dev.sh
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
trap 'kill 0' EXIT
|
||||
|
||||
(cd qwen3-tts-backend && /home/bdim/miniconda3/envs/qwen3-tts/bin/uvicorn main:app --host 0.0.0.0 --port 8000 --reload 2>&1 | sed 's/^/[backend] /') &
|
||||
(cd qwen3-tts-backend && DEV_MODE=true LOG_LEVEL=debug /home/bdim/miniconda3/envs/qwen3-tts/bin/uvicorn main:app --host 0.0.0.0 --port 8000 --reload --log-level debug 2>&1 | sed 's/^/[backend] /') &
|
||||
(cd qwen3-tts-frontend && npm run dev 2>&1 | sed 's/^/[frontend] /') &
|
||||
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user