dev.sh: strip \r fra .env.local-verdier (Windows line endings)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7babafc65f
commit
718f202014
1 changed files with 1 additions and 1 deletions
2
dev.sh
2
dev.sh
|
|
@ -57,7 +57,7 @@ echo ""
|
|||
echo "=== Starter worker + frontend ==="
|
||||
|
||||
cd "$ROOT/worker"
|
||||
AI_GATEWAY_KEY=$(grep LITELLM_MASTER_KEY "$ROOT/.env.local" | cut -d= -f2)
|
||||
AI_GATEWAY_KEY=$(grep LITELLM_MASTER_KEY "$ROOT/.env.local" | cut -d= -f2 | tr -d '\r')
|
||||
AI_GATEWAY_URL="http://127.0.0.1:4000/v1"
|
||||
cargo run -- --spacetimedb-url "$SPACETIME_URL" --sync-interval 1 --warmup-limit 100 \
|
||||
--ai-gateway-url "$AI_GATEWAY_URL" --ai-gateway-key "$AI_GATEWAY_KEY" 2>&1 | sed 's/^/[worker] /' &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue