Initial random proxy server

This commit is contained in:
hwhung
2026-04-27 04:11:48 +08:00
commit 29d9208f94
23 changed files with 2626 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
kind = "api"
previewPath = "/api" # TODO - should be excluded from preview in the first place
title = "API Server"
version = "1.0.0"
id = "3B4_FFSkEVBkAeYMFRJ2e"
[[services]]
localPort = 8080
name = "API Server"
paths = ["/api", "/v1"]
[services.development]
run = "pnpm run dev"
[services.production]
[services.production.build]
args = ["pnpm", "run", "build"]
[services.production.run]
# we don't run through pnpm to make startup faster in production
args = ["node", "--enable-source-maps", "dist/index.mjs"]
[services.production.health.startup]
path = "/api/healthz"