Add prod run script for Replit

This commit is contained in:
hwhung
2026-05-07 19:01:30 +08:00
parent f48b6665bc
commit 012224d40c
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
run = "node build.mjs && PORT=${PORT:-3000} PROXY_API_KEY=${PROXY_API_KEY:-dev-proxy-key} node --enable-source-maps dist/index.mjs"
run = "PORT=${PORT:-3000} PROXY_API_KEY=${PROXY_API_KEY:-dev-proxy-key} pnpm prod"
onBoot = "pnpm install --ignore-workspace"