fix: serve the website dist so Coolify answers GET /
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 1m1s

Nixpacks built Vite but had no production start command, so Coolify returned Cannot GET /.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john kevin asprec
2026-08-17 22:27:25 +08:00
parent 5a79f1a2eb
commit efdae32ae1
16 changed files with 193 additions and 38 deletions

View File

@@ -4,7 +4,15 @@ This file contains small, repeatable checks derived from verified failures. Pref
## Active failure-derived checks
_No failure-derived checks yet._
### E-2026-08-17-01 — Website production server answers GET /
- **Prevents:** L-2026-08-17-01 (`Cannot GET /` on Coolify)
- **Type:** command
- **How to run:** `npm run website:build`; then from `packages/website` `PORT=34567 node server.mjs` and GET `http://127.0.0.1:34567/`
- **Pass condition:** HTTP 200 and body contains `LexAI`; `/healthz` returns `ok`
- **Failure signal:** `Cannot GET /`, connection refused, or 500 `dist/ missing`
- **Cost:** fast
- **Last verified:** 2026-08-17 pass (status 200, title present)
## Eval template