feat: publish sanitized custom.97 source

This commit is contained in:
cneicy committed 2026-10-27 20:43:39 +08:00
1 parent 8e6ed0317b
commit 86c0276156
1022 files changed
+69903 -19207

No files matched your search

+5 -3
View File
@@ -8,9 +8,11 @@ import (
"github.com/QuantumNous/new-api/common"
)
// The default descriptions are English source keys that the web console
// translates; descriptions an administrator saves are shown as written.
var userUsableGroups = map[string]string{
"default": "默认分组",
"vip": "vip分组",
"default": "Default group",
"vip": "VIP group",
}
var userUsableGroupsMutex sync.RWMutex
@@ -29,7 +31,7 @@ func UserUsableGroups2JSONString() string {
jsonBytes, err := json.Marshal(userUsableGroups)
if err != nil {
common.SysLog("error marshalling user groups: " + err.Error())
common.SysLog(common.LogText("error marshalling user groups: %s", err.Error()))
}
return string(jsonBytes)
}