mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-20 15:06:36 +00:00
chore(配置): 更新上游白名单默认值
新增 Kimi/BigModel/Minimax 官方域名到 allowlist 保持示例配置与默认值一致
This commit is contained in:
1 parent
f8e7255c32
commit
c8e5455df0
2 files changed
+6
No files matched your search
@@ -413,6 +413,9 @@ func setDefaults() {
|
||||
viper.SetDefault("security.url_allowlist.upstream_hosts", []string{
|
||||
"api.openai.com",
|
||||
"api.anthropic.com",
|
||||
"api.kimi.com",
|
||||
"open.bigmodel.cn",
|
||||
"api.minimaxi.com",
|
||||
"generativelanguage.googleapis.com",
|
||||
"cloudcode-pa.googleapis.com",
|
||||
"*.openai.azure.com",
|
||||
|
||||
Reference in new issue
Block a user