We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1b828 commit 6c7f137Copy full SHA for 6c7f137
1 file changed
src/resources/fc/impl/client.ts
@@ -96,9 +96,14 @@ export default class FC_Client {
96
this.customEndpoint = options.endpoint;
97
const { timeout, userAgent } = options || {};
98
99
- const { host: endpoint = `${accountID}.${region}.fc.aliyuncs.com`, protocol = 'http' } =
+ let { host: endpoint = `${accountID}.${region}.fc.aliyuncs.com`, protocol = 'http' } =
100
getCustomEndpoint(options.endpoint);
101
102
+ // 河源地域,fc 走内网
103
+ if (region === 'cn-heyuan-acdr-1') {
104
+ endpoint = endpoint.replace('.fc.aliyuncs.com', '-internal.fc.aliyuncs.com')
105
+ }
106
+
107
logger.debug(`endpoint=${endpoint}; protocol=${protocol}`);
108
109
const config = new Config({
0 commit comments