From fb16dc2b017e339e6a36a89c9b5d8a830ce3a541 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 15 Jul 2026 02:08:17 -0400 Subject: Add Cloudflare Workers deployment target Split routes into a shared createApp() (src/app.ts) used by both the Node entry (src/index.ts) and a new Workers entry (src/worker.ts). Workers disallow runtime code generation, so scripts/compile-views.ts precompiles the Eta templates into src/views.generated.ts and rendering switches from renderAsync to the sync render. Static files move to public/static so Workers Static Assets can serve them; the Node build and serveStatic root are updated to match. Deploy with pnpm run deploy:cf, local dev with pnpm run dev:cf. Co-Authored-By: Claude Fable 5 --- public/static/icons/eye.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/static/icons/eye.svg (limited to 'public/static/icons/eye.svg') diff --git a/public/static/icons/eye.svg b/public/static/icons/eye.svg new file mode 100644 index 0000000..f6f8230 --- /dev/null +++ b/public/static/icons/eye.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.3.1