feat: 添加本地 CPA 第 9 步策略切换功能

This commit is contained in:
QLHazyCoder
2026-04-12 23:31:07 +08:00
parent 55c90dd8f7
commit c9736f6c5d
6 changed files with 115 additions and 4 deletions
+3
View File
@@ -369,6 +369,9 @@ Cloudflare 模式下,插件不会再调用 Cloudflare API 创建路由。
- 步骤 9 会拒绝任何不是真实 `/auth/callback`,或缺少 `code` / `state` 的本地回调地址
- 成功后的清理只会针对 `/auth` 这一类真实回调标签页,不会再泛化清理任意 localhost 路径
- 侧边栏可切换“本地 CPA”策略,默认是 `全部回调`
- 选择 `全部回调` 时,即使 CPA 部署在本地,也会执行步骤 9
- 选择 `跳过第9步` 时,仅当本地 CPA 且步骤 8 已拿到回调地址时,才会直接跳过步骤 9
回到 CPA 面板: