@@ -35,10 +35,3 @@ global.COUNT = {
link:0,
user:0
}
-
-/** Online Mongodb **/
-// global.MongoURL = 'mongodb://l2sServer:129810lh@dds-bp10931c06c465142.mongodb.rds.aliyuncs.com:3717/l2s';
-/** Localhost Mongodb **/
-global.MongoURL = 'mongodb://localhost:27017/l2s';
@@ -5,6 +5,7 @@ const http = require('http');
// Load Core & Variables
global.ROOTPATH = __dirname;
require('./config.js');
+require('./database.js');
//Init Mongo Database & start server