|
|
@@ -275,6 +275,39 @@
|
|
|
"cacheParam": "_dc"
|
|
|
},
|
|
|
|
|
|
+ "builds": {
|
|
|
+ "dev": {
|
|
|
+ "server": {
|
|
|
+ "accountCenter":"http://192.168.0.181:8000",
|
|
|
+ "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
|
|
|
+ "basePath": {
|
|
|
+ "https": "https://saas-api-dev.usoftchina.com:5443",
|
|
|
+ "http": "http://192.168.0.181:8560"
|
|
|
+ },
|
|
|
+ "urlPattern": "^\/api\/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "test": {
|
|
|
+ "server": {
|
|
|
+ "accountCenter": "https://saas-test.usoftchina.com:5443",
|
|
|
+ "accountEnterprise": "https://saas-test.usoftchina.com:5443/#/enterprise",
|
|
|
+ "basePath": {
|
|
|
+ "https": "https://saas-api-test.usoftchina.com:5443",
|
|
|
+ "http": "http://192.168.0.181:8575"
|
|
|
+ },
|
|
|
+ "urlPattern": "^\/api\/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "prod": {
|
|
|
+ "server": {
|
|
|
+ "accountCenter":"https://saas.usoftchina.com",
|
|
|
+ "accountEnterprise":"https://saas.usoftchina.com/#/enterprise",
|
|
|
+ "basePath": "https://saas-api.usoftchina.com",
|
|
|
+ "urlPattern": "^\/api\/"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
/**
|
|
|
* Settings specific to production builds.
|
|
|
*/
|
|
|
@@ -293,12 +326,6 @@
|
|
|
},
|
|
|
"compressor": {
|
|
|
"type": "yui"
|
|
|
- },
|
|
|
- "server": {
|
|
|
- "accountCenter":"https://saas.usoftchina.com",
|
|
|
- "accountEnterprise":"https://saas.usoftchina.com/#/enterprise",
|
|
|
- "basePath": "https://saas-api.usoftchina.com",
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -306,39 +333,6 @@
|
|
|
* Settings specific to testing builds.
|
|
|
*/
|
|
|
"testing": {
|
|
|
- "output": {
|
|
|
- "appCache": {
|
|
|
- "enable": true,
|
|
|
- "path": "cache.appcache"
|
|
|
- }
|
|
|
- },
|
|
|
- "loader": {
|
|
|
- "cache": "${build.timestamp}"
|
|
|
- },
|
|
|
- "cache": {
|
|
|
- "enable": true
|
|
|
- },
|
|
|
- "compressor": {
|
|
|
- "type": "yui"
|
|
|
- },
|
|
|
- "server": {
|
|
|
- /** 暂时更改
|
|
|
- "accountCenter": "https://saas-test.usoftchina.com:5443",
|
|
|
- "accountEnterprise": "https://saas-test.usoftchina.com:5443/#/enterprise",
|
|
|
- "basePath": {
|
|
|
- "https": "https://saas-api-test.usoftchina.com:5443",
|
|
|
- "http": "http://192.168.0.181:8575"
|
|
|
- },
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
- **/
|
|
|
- "accountCenter":"http://192.168.0.181:8000",
|
|
|
- "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
|
|
|
- "basePath": {
|
|
|
- "https": "https://saas-api-dev.usoftchina.com:5443",
|
|
|
- "http": "http://192.168.0.181:8560"
|
|
|
- },
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
- }
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
@@ -347,15 +341,6 @@
|
|
|
"development": {
|
|
|
"watch": {
|
|
|
"delay": 250
|
|
|
- },
|
|
|
- "server": {
|
|
|
- "accountCenter":"http://192.168.0.181:8000",
|
|
|
- "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
|
|
|
- "basePath": {
|
|
|
- "https": "https://saas-api-dev.usoftchina.com:5443",
|
|
|
- "http": "http://192.168.0.181:8560"
|
|
|
- },
|
|
|
- "urlPattern": "^\/api\/"
|
|
|
}
|
|
|
},
|
|
|
|