Files
proxy-artifact/.replit-artifact/artifact.toml
T
2026-05-07 19:13:04 +08:00

24 lines
601 B
TOML

kind = "web"
previewPath = "/"
title = "Proxy Artifact"
version = "1.0.0"
id = "proxy-artifact"
router = "path"
[[services]]
name = "web"
paths = ["/"]
localPort = 3000
[services.development]
run = "PORT=${PORT:-3000} PROXY_API_KEY=${PROXY_API_KEY:-dev-proxy-key} pnpm prod"
[services.production]
build = ["sh", "-c", "pnpm install --ignore-workspace && pnpm build:fast"]
run = ["sh", "-c", "PORT=${PORT:-3000} PROXY_API_KEY=${PROXY_API_KEY:-dev-proxy-key} NODE_ENV=production node --enable-source-maps dist/index.mjs"]
[services.env]
PORT = "3000"
PROXY_API_KEY = "dev-proxy-key"
BASE_PATH = "/"