aboutsummaryrefslogtreecommitdiff
path: root/static/icons/file.svg
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-07-15 02:08:17 -0400
committerJoe Mou <dev@mou.fo>2026-07-15 02:08:29 -0400
commitfb16dc2b017e339e6a36a89c9b5d8a830ce3a541 (patch)
tree640775bc65b7a14019df8aea789a00e65023d3bb /static/icons/file.svg
parent0f4681d55b9d865a4e860fb3f28203ffd0bdc034 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'static/icons/file.svg')
-rw-r--r--static/icons/file.svg1
1 files changed, 0 insertions, 1 deletions
diff --git a/static/icons/file.svg b/static/icons/file.svg
deleted file mode 100644
index f2e7629..0000000
--- a/static/icons/file.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"/></svg> \ No newline at end of file