...
|
...
|
@@ -72,7 +72,7 @@ var apiCofig = { |
|
|
}
|
|
|
};
|
|
|
|
|
|
consoles.log("环境:"+process.env.NODE_ENV);
|
|
|
console.log("环境:"+process.env.NODE_ENV);
|
|
|
|
|
|
if(process.env.NODE_ENV!=='development'){
|
|
|
apiCofig.log.src="/Data/logsnode/yohobuy-portal-log/"
|
...
|
...
|
@@ -86,7 +86,7 @@ if(process.env.NODE_ENV==="test"){ |
|
|
filters: path.join(__dirname, "filters.js"),
|
|
|
views: path.resolve(__dirname,"views", "0", "1")
|
|
|
}
|
|
|
apiCofig.EnvConst=domain:"http://10.66.100.6:8088/platform";
|
|
|
apiCofig.bigdata=domain:"http://10.66.100.7:8091/bigdata";
|
|
|
apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform";
|
|
|
apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata";
|
|
|
}
|
|
|
module.exports = require('./libs/App')(apiCofig); |
|
|
\ No newline at end of file |
...
|
...
|
|