Showing
4 changed files
with
16 additions
and
4 deletions
@@ -97,8 +97,14 @@ if(process.env.NODE_ENV==="test"){ | @@ -97,8 +97,14 @@ if(process.env.NODE_ENV==="test"){ | ||
97 | apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; | 97 | apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; |
98 | apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata"; | 98 | apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata"; |
99 | } | 99 | } |
100 | +// 灰度 | ||
101 | +// if(process.env.NODE_ENV==="production"){ | ||
102 | +// apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; | ||
103 | +// apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; | ||
104 | +// } | ||
105 | +//线上 | ||
100 | if(process.env.NODE_ENV==="production"){ | 106 | if(process.env.NODE_ENV==="production"){ |
101 | - apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; | 107 | + apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform"; |
102 | apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; | 108 | apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; |
103 | } | 109 | } |
104 | module.exports = require('./libs/App')(apiCofig); | 110 | module.exports = require('./libs/App')(apiCofig); |
1 | { | 1 | { |
2 | "name": "yohobuy-shops-fe", | 2 | "name": "yohobuy-shops-fe", |
3 | - "version": "4.6.6", | 3 | + "version": "4.6.7", |
4 | "description": "Construction of the presentation layer solution is based on express, handlebars", | 4 | "description": "Construction of the presentation layer solution is based on express, handlebars", |
5 | "main": "app.js", | 5 | "main": "app.js", |
6 | "scripts": { | 6 | "scripts": { |
@@ -97,8 +97,14 @@ if(process.env.NODE_ENV==="test"){ | @@ -97,8 +97,14 @@ if(process.env.NODE_ENV==="test"){ | ||
97 | apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; | 97 | apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; |
98 | apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata"; | 98 | apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata"; |
99 | } | 99 | } |
100 | +// 灰度 | ||
101 | +// if(process.env.NODE_ENV==="production"){ | ||
102 | +// apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; | ||
103 | +// apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; | ||
104 | +// } | ||
105 | +//线上 | ||
100 | if(process.env.NODE_ENV==="production"){ | 106 | if(process.env.NODE_ENV==="production"){ |
101 | - apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; | 107 | + apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform"; |
102 | apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; | 108 | apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; |
103 | } | 109 | } |
104 | module.exports = require('./libs/App')(apiCofig); | 110 | module.exports = require('./libs/App')(apiCofig); |
1 | -{"name":"yohobuy-shops-fe","version":"4.6.6","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","build":"set NODE_ENV=production && gulp && gulp mvc","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}} | ||
1 | +{"name":"yohobuy-shops-fe","version":"4.6.7","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","build":"set NODE_ENV=production && gulp && gulp mvc","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}} |
-
Please register or login to post a comment