Use web artifact publish path

This commit is contained in:
hwhung
2026-05-07 18:27:58 +08:00
parent 63a5db2a86
commit d7a2d520b6
5 changed files with 46 additions and 34 deletions
+1 -5
View File
@@ -1,6 +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 = "node build.mjs && PORT=${PORT:-3001} PROXY_API_KEY=${PROXY_API_KEY:-dev-proxy-key} node --enable-source-maps dist/index.mjs"
onBoot = "pnpm install --ignore-workspace"
[deployment]
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"]