Unify parts of the model with MetaCubeX.

This commit is contained in:
2025-06-12 14:19:00 +10:00
parent 0c8bbac2e6
commit f88ae52a29
24 changed files with 590 additions and 353 deletions

View File

@ -35,7 +35,7 @@ func SubHandler(model M.ClashType, template string) func(c *gin.Context) {
if query.NodeListMode {
nodelist := M.NodeList{}
nodelist.Proxies = sub.Proxies
nodelist.Proxy = sub.Proxy
marshal, err := yaml.Marshal(nodelist)
if err != nil {
c.String(http.StatusInternalServerError, "YAML序列化失败: "+err.Error())