Use Replit default port
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user