feat: 添加前端页面处理和静态资源支持

- 移除测试端点,添加前端页面处理逻辑
- 实现静态资源处理功能
- 添加SPA路由支持,所有未匹配路径返回前端页面
- 更新依赖,添加@cloudflare/kv-asset-handler
This commit is contained in:
2025-10-08 16:15:24 +08:00
parent 1147cd270b
commit 0faea53617
20 changed files with 2578 additions and 45 deletions

3
pnpm-lock.yaml generated
View File

@@ -8,6 +8,9 @@ importers:
.:
dependencies:
'@cloudflare/kv-asset-handler':
specifier: ^0.4.0
version: 0.4.0
date-fns:
specifier: ^4.1.0
version: 4.1.0