aethex-forge/server
AeThex a68a2b9f8e
Some checks are pending
Build / build (push) Waiting to run
Deploy / deploy (push) Waiting to run
Lint & Type Check / lint (push) Waiting to run
Security Scan / semgrep (push) Waiting to run
Security Scan / dependency-check (push) Waiting to run
Test / test (18.x) (push) Waiting to run
Test / test (20.x) (push) Waiting to run
fix: build client in Docker and serve compiled SPA from Express
Vite dev mode is incompatible with Discord Activity's iframe CSP — the
HMR WebSocket is blocked which breaks the React JSX dev runtime (_jsxDEV).

- Build client (vite build) during Docker image build so dist/spa/ exists
- Add express.static serving dist/spa/ assets in server/index.ts
- Add SPA catch-all to serve dist/spa/index.html for non-API routes

The Activity now loads the production compiled bundle instead of Vite's
dev-mode TypeScript modules, resolving the _jsxDEV crash.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 01:59:56 +00:00
..
email.ts Prettier format pending files 2025-11-05 04:50:45 +00:00
ghost-admin-api.ts Fix Ghost API response types in ghost-admin-api (both occurrences) 2025-11-16 07:07:51 +00:00
index.ts fix: build client in Docker and serve compiled SPA from Express 2026-04-15 01:59:56 +00:00
node-build.ts fix: Discord Activity token exchange, CSP headers, subscription routes, and static asset 404 2026-04-14 23:49:50 +00:00
supabase.ts feat: Authentik SSO, nav systems, project pages, and schema fixes 2026-04-12 05:01:10 +00:00