nexus/server/src
Matt Van Horn 0f32fffe79 fix(server): serve cached index.html in SPA catch-all to prevent 500
res.sendFile can emit NotFoundError from the send module in certain
path resolution scenarios, causing 500s on company-scoped SPA routes.
Cache index.html at startup and serve it directly, which is both
more reliable and faster.

Fixes #233

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:20:19 -08:00
..
__tests__ openclaw gateway: persist device keys and smoke pairing flow 2026-03-07 17:05:36 -06:00
adapters Merge remote-tracking branch 'public-gh/master' 2026-03-07 15:18:02 -06:00
auth fix(auth): apply effective trusted origins and honor allowed hostnames in public mode 2026-03-06 15:39:36 -03:00
middleware fix(server): attach raw Error to res.err and avoid pino err key collision 2026-03-07 15:19:03 -06:00
realtime update typing to node v24 from v20 2026-03-05 14:36:00 -03:00
routes openclaw gateway: persist device keys and smoke pairing flow 2026-03-07 17:05:36 -06:00
secrets refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
services feat: deduplicate project shortnames on create and update 2026-03-07 08:59:34 -06:00
storage refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
types feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
agent-auth-jwt.ts Implement local agent JWT authentication for adapters 2026-02-18 16:46:45 -06:00
app.ts fix(server): serve cached index.html in SPA catch-all to prevent 500 2026-03-07 16:20:19 -08:00
board-claim.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
config-file.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
config.ts centralize URLs into single canonical URL var 2026-03-05 17:55:34 -03:00
errors.ts Add server routes for companies, approvals, costs, and dashboard 2026-02-17 09:07:27 -06:00
home-paths.ts Add configurable automatic database backup scheduling 2026-03-04 18:03:23 -06:00
index.ts fix(auth): apply effective trusted origins and honor allowed hostnames in public mode 2026-03-06 15:39:36 -03:00
paths.ts feat(cli): add client commands and home-based local runtime defaults 2026-02-20 07:10:58 -06:00
redaction.ts Implement secrets service with local encryption, redaction, and runtime resolution 2026-02-19 15:43:52 -06:00
startup-banner.ts Add configurable automatic database backup scheduling 2026-03-04 18:03:23 -06:00