|
@@ -39,11 +39,11 @@ module.exports = appInfo => {
|
|
|
config.mongoose = {
|
|
|
url: `mongodb://localhost:27017/${config.dbName}`,
|
|
|
options: {
|
|
|
- user: 'admin',
|
|
|
- pass: 'admin',
|
|
|
- authSource: 'admin',
|
|
|
- useNewUrlParser: true,
|
|
|
- useCreateIndex: true,
|
|
|
+ // user: 'admin',
|
|
|
+ // pass: 'admin',
|
|
|
+ // authSource: 'admin',
|
|
|
+ // useNewUrlParser: true,
|
|
|
+ // useCreateIndex: true,
|
|
|
},
|
|
|
};
|
|
|
// 路由设置
|