docs: update missing documentation from closed issues (#948)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dream Hunter
2026-04-06 11:11:44 +08:00
committed by GitHub
parent a0db913952
commit b86d1faac4
16 changed files with 120 additions and 20 deletions

View File

@@ -9,6 +9,10 @@
## 前后端分离部署
> [!warning] 重要SPA 模式
> 本项目是单页应用SPA。如果你通过 Cloudflare 控制台手动上传部署,**必须在高级选项中将「未找到处理」设置为 `Single-page application (SPA)`**,否则刷新页面或直接访问 `/admin` 等子路径时会返回 404。
> 通过 CLI`wrangler pages deploy`)部署时会自动处理,无需额外配置。
第一次部署会提示创建项目, `production` 分支请填写 `production`
```bash