Browse Source

配置切换至内网,加快速度

laiguoran 3 years ago
parent
commit
047c0e75a9
2 changed files with 3 additions and 3 deletions
  1. 2 2
      config/config.default.js
  2. 1 1
      config/config.uat.js

+ 2 - 2
config/config.default.js

@@ -214,7 +214,7 @@ module.exports = appInfo => {
         default: {
             accessKeyId: 'LTAIALMjBHOs9PLA',
             accessKeySecret: 'HSnULQs87wAJhcziAdyRv3GZ4EYctc',
-            endpoint: 'oss-cn-shenzhen.aliyuncs.com',
+            endpoint: 'oss-cn-shenzhen-internal.aliyuncs.com',
             timeout: '60s',
         },
     };
@@ -222,7 +222,7 @@ module.exports = appInfo => {
     config.fujianOssPath = 'https://jiliang-saas-oss.smartcost.com.cn/';
     config.fujianOssFolder = '';
 
-    config.syncUrl = 'https://sync.jl.smartcost.com.cn/';
+    config.syncUrl = 'http://sync.jl.smartcost.com.cn/';
 
     return config;
 };

+ 1 - 1
config/config.uat.js

@@ -71,7 +71,7 @@ module.exports = appInfo => {
         default: {
             accessKeyId: 'LTAIALMjBHOs9PLA',
             accessKeySecret: 'HSnULQs87wAJhcziAdyRv3GZ4EYctc',
-            endpoint: 'oss-cn-shenzhen.aliyuncs.com',
+            endpoint: 'oss-cn-shenzhen-internal.aliyuncs.com',
             timeout: '60s',
         },
     };