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:
1 parent
3e1652ca98
commit
257caed650
51 files changed
+4459
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user