Commit 4125cb1b authored by wang's avatar wang

收集环境

parent e470aa40
...@@ -9,7 +9,7 @@ const plt = process.platform; ...@@ -9,7 +9,7 @@ const plt = process.platform;
let ENVS = JSON.parse(fs.readFileSync('./env.json', 'utf-8').toString()) let ENVS = JSON.parse(fs.readFileSync('./env.json', 'utf-8').toString())
let keys = Object.keys(ENVS); let keys = Object.keys(ENVS);
let uri; let uri;
if (plt === 'darwin') { if (plt !== 'darwin') {
uri = "mongodb://lcc-spider:JIUsfhiad&^@54.183.159.9:27017/?authSource=admin&directConnection=true"; uri = "mongodb://lcc-spider:JIUsfhiad&^@54.183.159.9:27017/?authSource=admin&directConnection=true";
}else{ }else{
......
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