mirror of
https://github.com/larksuite/cli.git
synced 2026-07-10 11:04:26 +08:00
chore(env): switch default feishu endpoints to pre
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user