- Created Test Environment un Server test.freeplanet.app
- mongodb open 2 connections port (3000 and 3001) - 27017 and 27018
This commit is contained in:
@@ -4,6 +4,7 @@ mongoose.Promise = global.Promise;
|
||||
|
||||
mongoose.level = "";
|
||||
|
||||
|
||||
mongoose.plugin(schema => {
|
||||
schema.options.usePushEach = true
|
||||
});
|
||||
@@ -14,7 +15,7 @@ var options = {
|
||||
// user: process.env.UDB,
|
||||
// pass: process.env.PDB,
|
||||
useMongoClient: true,
|
||||
useNewUrlParser: true,
|
||||
// useNewUrlParser: true, // non supportato
|
||||
promiseLibrary: require('bluebird')
|
||||
|
||||
// useCreateIndex: true,
|
||||
|
||||
Reference in New Issue
Block a user