add backend & full support for cloudflare workers

This commit is contained in:
2026-03-03 15:22:40 +08:00
parent 8dada7f9e3
commit da0a5e29cc
16 changed files with 12978 additions and 421 deletions

15
backend/wrangler.jsonc Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "webmuxd-wisp-demo",
"main": "src/index.ts",
"compatibility_date": "2026-03-03",
"assets": {
"directory": "../frontend/dist",
"binding": "ASSETS",
"not_found_handling": "single-page-application"
},
"observability": {
"enabled": true,
"head_sampling_rate": 1
}
}