Commit 4776d286 by 宋毅

tj

parent 32d06013
...@@ -56,8 +56,8 @@ var settings = { ...@@ -56,8 +56,8 @@ var settings = {
// } // }
// }, // },
reqEsDevUrl: "http://192.168.4.249:9200/", reqEsDevUrl: "http://192.168.4.249:9200/",
reqHomePageDevUrl: "http://p.apps.com:3001/", reqHomePageDevUrl: "http://p.apps.com:4001/",
reqAuthUrl: "http://p.apps.com:3001/auth", reqAuthUrl: "http://p.apps.com:4001/auth",
docUrl:"http://p.apps.com:3001/web/common/metaCtl/getApiDoc" docUrl:"http://p.apps.com:4001/web/common/metaCtl/getApiDoc"
}; };
module.exports = settings; module.exports = settings;
...@@ -24,7 +24,7 @@ var settings = { ...@@ -24,7 +24,7 @@ var settings = {
salt: "%iatpD1gcxz7iF#B", salt: "%iatpD1gcxz7iF#B",
defaultpwd:"987456", defaultpwd:"987456",
basepath : path.normalize(path.join(__dirname, '../..')), basepath : path.normalize(path.join(__dirname, '../..')),
port : process.env.NODE_PORT || 3001, port : process.env.NODE_PORT || 4001,
reqEsAddr:function(){ reqEsAddr:function(){
if(this.env=="dev"){ if(this.env=="dev"){
var localsettings=require("./localsettings"); var localsettings=require("./localsettings");
......
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