fix: serve the website dist so Coolify answers GET /
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 1m1s
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user