Skip to content

Commit

Permalink
fix(fc3-plugin): endpoint support multi region (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingtsingw authored Jan 6, 2024
1 parent dee23dd commit 2a84acd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change

## 2.54.1

- fix(fc3-plugin): client endpoint 支持多地域

## 2.54.0

- feat(cli-common): 根据 keywords 中声明的组件名称决定 Malagu 项目 HOME 目录,默认为 `.malagu`
Expand Down
2 changes: 1 addition & 1 deletion plugins/fc3-plugin/src/hooks/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export async function createFcClient(cloudConfig: any, region: string, credentia
securityToken: credentials.token,
regionId: region,
timeout: cloudConfig.timeout,
endpoint: `${account.id}.cn-zhangjiakou.fc.aliyuncs.com`
endpoint: `${account.id}.${region}.fc.aliyuncs.com`
}));

return fcClient;
Expand Down

0 comments on commit 2a84acd

Please sign in to comment.