Use fast build for Replit deployment

This commit is contained in:
hwhung
2026-05-07 18:23:59 +08:00
parent c927ac8282
commit 63a5db2a86
5 changed files with 12 additions and 10 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ pnpm install --ignore-workspace
For publishing from a workspace that clones this repo into `./random-proxy-simple`, configure the
workspace root `.replit` `[deployment]` block to build and run `random-proxy-simple` directly.
Keep `PORT`, `PROXY_API_KEY`, and `NODE_ENV` in the production `run` command. Do not use artifact
production deployment for this proxy.
production deployment for this proxy. Use `pnpm build:fast` for Replit publish builds.
## Install
@@ -70,8 +70,8 @@ These can be overridden with CLI flags or environment variables:
- `--port` or `PORT`
- `--proxy-api-key` or `PROXY_API_KEY`
For mass deployments, put the generated token and Replit AI Integration variables directly in the
Replit workflow run command with `--proxy-api-key`, `--openai-*`, and `--anthropic-*` flags.
For mass deployments, pass the generated proxy token through `PROXY_API_KEY`. Replit AI
Integration provider values are read from the `AI_INTEGRATIONS_*` environment variables.
## Verify