[feat] download singbox config #938 #957

This commit is contained in:
Alireza Ahmadi
2026-01-04 17:36:47 +01:00
parent 94cc29edf5
commit 0ef5db4846
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -95,6 +95,8 @@ func (a *APIHandler) getHandler(c *gin.Context) {
a.ApiService.GetDb(c)
case "tokens":
a.ApiService.GetTokens(c)
case "singbox-config":
a.ApiService.GetSingboxConfig(c)
default:
jsonMsg(c, "failed", common.NewError("unknown action: ", action))
}