chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -38,8 +38,8 @@ export const getUploader = (config: Config, isOversea?: boolean) => {
|
||||
).replace(/^https:\/\//, config.schema ? `${config.schema}://` : '');
|
||||
const uploader = new Uploader({
|
||||
/**
|
||||
* 需要根据当前用户的部署环境动态获取schema
|
||||
* schema 兼容特殊 http 场景字段
|
||||
* The schema needs to be dynamically obtained according to the deployment environment of the current user
|
||||
* Schema compatibility with special HTTP scenario fields
|
||||
*/
|
||||
schema: config.schema,
|
||||
region: isOversea ? 'ap-singapore-1' : 'cn-north-1',
|
||||
|
||||
@@ -17,6 +17,6 @@
|
||||
export const REGION_MAP = {
|
||||
'cn-north-1': 'cn-north-1',
|
||||
'ap-singapore-1': 'ap-singapore-1',
|
||||
// volcengine 没有 va 环境
|
||||
// Volcengine has no va environment
|
||||
'us-east-1': 'ap-singapore-1',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user