trails/apps/journal
Ullrich Schäfer 4fe5382b4b fix(journal): copy serve-static.ts into the runtime image
PR #554 extracted serve-static.ts as a sibling of server.ts, but the
journal Dockerfile copies runtime source files explicitly by name and
the COPY list was never updated. The runtime runs `node server.ts`,
whose `import "./serve-static.ts"` then fails with ERR_MODULE_NOT_FOUND,
crash-looping both the production and staging journals (they share the
image). Caddy stayed up with no upstream, so the site hung.

Add the missing COPY line. serve-static.ts imports only node: builtins,
so this single file restores startup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 09:23:15 +02:00
..
app fix(journal): match metric route label against known templates 2026-06-19 11:00:03 +02:00
public Add favicons, apple-touch-icons, and Chrome DevTools JSON 2026-03-29 10:35:03 +02:00
.env.example feat(journal): Garmin activity import — provider, webhook pipeline, backfill (§1–5) 2026-06-07 17:47:22 +02:00
Dockerfile fix(journal): copy serve-static.ts into the runtime image 2026-06-25 09:23:15 +02:00
package.json build(deps): bump nodemailer from 8.0.11 to 9.0.1 2026-06-21 17:04:34 +00:00
react-router.config.ts feat(journal): Fedify spike — WebFinger + actor objects behind FEDERATION_ENABLED 2026-06-06 14:15:27 +02:00
serve-static.test.ts fix(journal): don't crash the process on a malformed request URL 2026-06-24 15:41:26 +02:00
serve-static.ts fix(journal): don't crash the process on a malformed request URL 2026-06-24 15:41:26 +02:00
server.ts fix(journal): don't crash the process on a malformed request URL 2026-06-24 15:41:26 +02:00
tsconfig.json Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
vite.config.ts Pre-warm Vite dep discovery for the journal dev server 2026-04-26 19:51:39 +02:00
vitest.config.ts fix(journal): don't crash the process on a malformed request URL 2026-06-24 15:41:26 +02:00