Commit c8b5a00a by 宋毅

tj

parent 3c44d3bf
...@@ -28,7 +28,7 @@ var settings={ ...@@ -28,7 +28,7 @@ var settings={
} }
}, },
reqEsDevUrl:"http://192.168.4.249:9200/", reqEsDevUrl:"http://192.168.4.249:9200/",
reqHomePageDevUrl:"http://sj.app.com:3004/", reqHomePageDevUrl:"http://sj.app.com:4004/",
reqAuthUrl:"http://sj.app.com:3004/auth" reqAuthUrl:"http://sj.app.com:3004/auth"
}; };
module.exports = settings; module.exports = settings;
...@@ -18,17 +18,17 @@ var settings = { ...@@ -18,17 +18,17 @@ var settings = {
secret: "1671ab5405fa49c8b5dd0b0c55c279b8", secret: "1671ab5405fa49c8b5dd0b0c55c279b8",
salt: "%iatpD1gcxz7iF#B", salt: "%iatpD1gcxz7iF#B",
basepath: path.normalize(path.join(__dirname, '../..')), basepath: path.normalize(path.join(__dirname, '../..')),
port: process.env.NODE_PORT || 3004, port: process.env.NODE_PORT || 4004,
channelApiUrl: function () { channelApiUrl: function () {
if (this.env == "dev") { if (this.env == "dev") {
return "http://zcchannel.apps.com:3003"; return "http://zcchannel.apps.com:4003";
} else { } else {
return "http://zc-channel-service"; return "http://zc-channel-service";
} }
}, },
paasUrl: function () { paasUrl: function () {
if (this.env == "dev") { if (this.env == "dev") {
return "http://p.apps.com:3001/"; return "http://p.apps.com:4001/";
} else { } else {
return "http://open.gongsibao.com/"; return "http://open.gongsibao.com/";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment