chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -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',

View File

@@ -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',
};