Use Replit default port

This commit is contained in:
hwhung
2026-04-27 12:43:12 +08:00
parent 934ab43ccc
commit 5463862d32
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -27,7 +27,7 @@ With Replit AI Integrations:
```bash
pnpm dev -- \
--host 0.0.0.0 \
--port 24731 \
--port 3000 \
--proxy-api-key dev-proxy-key \
--openai-base-url "<ai-integrations-openai-base-url>" \
--openai-api-key "<ai-integrations-openai-api-key>" \
@@ -44,15 +44,15 @@ If the process does not stay alive after the shell exits, create the smallest ba
## Defaults
- host: `0.0.0.0`
- port: `24731`
- port: `3000`
- bearer token: `dev-proxy-key`
## Verify
```bash
curl -s http://localhost:24731/api/healthz
curl -s http://localhost:24731/dashboard | head
curl -s -H "Authorization: Bearer dev-proxy-key" http://localhost:24731/v1/models
curl -s http://localhost:3000/api/healthz
curl -s http://localhost:3000/dashboard | head
curl -s -H "Authorization: Bearer dev-proxy-key" http://localhost:3000/v1/models
```
Expected without provider flags: dashboard, health, and model list work; chat completions return `503`.