chore(env): switch default feishu endpoints to pre

This commit is contained in:
houzhicong
2026-04-20 21:13:12 +08:00
parent 5c959738e5
commit e81c10fbc4
2 changed files with 4 additions and 2 deletions

View File

@@ -50,6 +50,8 @@ func BaseSecurityHeaders() http.Header {
h.Set(HeaderVersion, build.Version)
h.Set(HeaderBuild, DetectBuildKind())
h.Set(HeaderUserAgent, UserAgentValue())
h.Set("x-tt-env", "ppe_agent_meeting")
return h
}

View File

@@ -40,8 +40,8 @@ func ResolveEndpoints(brand LarkBrand) Endpoints {
}
default:
return Endpoints{
Open: "https://open.feishu.cn",
Accounts: "https://accounts.feishu.cn",
Open: "https://open.feishu-pre.cn",
Accounts: "https://accounts.feishu-pre.cn",
MCP: "https://mcp.feishu.cn",
}
}