Add kigicli.dev frontend worker with built site assets

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pFJn6ycA4hPRwM9sqasi6
This commit is contained in:
ZacharyZhang-NYandClaude Fable 5 committed 2026-08-25 23:04:06 -04:00
1 parent 3e1652ca98
commit 257caed650
51 files changed
+4459

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "kigi-frontend",
"main": "worker/index.ts",
"compatibility_date": "2026-07-01",
// Assets are matched first and served directly; anything without a matching
// file falls through to the Worker (that is how /install.sh and /install.ps1
// reach it). The SPA fallback applies to the explicit env.ASSETS.fetch() call.
"assets": {
"directory": "./dist",
"binding": "ASSETS",
"not_found_handling": "single-page-application"
},
"workers_dev": false,
"routes": [
{ "pattern": "kigicli.dev", "custom_domain": true },
{ "pattern": "www.kigicli.dev", "custom_domain": true }
],
"observability": {
"enabled": true,
"head_sampling_rate": 1
}
}