feat(cloudflare): Token 配置新增测试连接与获取入口并发布 v1.6.5

This commit is contained in:
2026-09-28 17:32:06 +08:00
parent be35fbf546
commit 3caff9fd8e
12 changed files with 137 additions and 17 deletions
+1
View File
@@ -208,6 +208,7 @@ func newRouterWithSpecs(deps Deps) (http.Handler, []routeSpec) {
protect("POST /api/cloudflare/binary/download", cf.DownloadBinary)
protect("GET /api/cloudflare/settings", cf.AppSettings)
protect("PUT /api/cloudflare/settings", cf.SaveAppSettings)
protect("POST /api/cloudflare/settings/test", cf.TestToken)
protect("GET /api/cloudflare/ingress-candidates", cf.IngressCandidates)
}