Skip to content

Commit fa7faf3

Browse files
committed
fix(core): add cn-shanghai-autodriving
1 parent 8364cca commit fa7faf3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

volcengine-java-sdk-core/src/main/java/com/volcengine/endpoint/DefaultEndpointProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class DefaultEndpointProvider implements EndpointResolver {
1111

1212
// 区域代码常量
1313
public static final String REGION_CODE_CN_BEIJING_AUTODRIVING = "cn-beijing-autodriving";
14+
public static final String REGION_CODE_CN_SHANGHAI_AUTODRIVING = "cn-shanghai-autodriving";
1415
public static final String REGION_CODE_AP_SOUTH_EAST_2 = "ap-southeast-2";
1516
public static final String REGION_CODE_AP_SOUTH_EAST_3 = "ap-southeast-3";
1617
public static final String REGION_CODE_CN_HONGKONG = "cn-hongkong";
@@ -27,6 +28,7 @@ public class DefaultEndpointProvider implements EndpointResolver {
2728
BOOTSTRAP_REGION.add(REGION_CODE_CN_BEIJING_AUTODRIVING);
2829
BOOTSTRAP_REGION.add(REGION_CODE_AP_SOUTH_EAST_2);
2930
BOOTSTRAP_REGION.add(REGION_CODE_AP_SOUTH_EAST_3);
31+
BOOTSTRAP_REGION.add(REGION_CODE_CN_SHANGHAI_AUTODRIVING);
3032
}
3133

3234
static {

0 commit comments

Comments
 (0)