|
@@ -11,25 +11,25 @@ module.exports = () => {
|
|
|
config.mongoose = {
|
|
|
url: 'mongodb://localhost:27017/platform',
|
|
|
options: {
|
|
|
- user: 'platform',
|
|
|
- pass: 'platform2020',
|
|
|
- authSource: 'admin',
|
|
|
- useNewUrlParser: true,
|
|
|
- useCreateIndex: true,
|
|
|
- useUnifiedTopology: true,
|
|
|
+ // user: 'platform',
|
|
|
+ // pass: 'platform2020',
|
|
|
+ // authSource: 'admin',
|
|
|
+ // useNewUrlParser: true,
|
|
|
+ // useCreateIndex: true,
|
|
|
+ // useUnifiedTopology: true,
|
|
|
},
|
|
|
};
|
|
|
|
|
|
- config.amqp = {
|
|
|
- client: {
|
|
|
- hostname: '127.0.0.1',
|
|
|
- username: 'wy',
|
|
|
- password: '1',
|
|
|
- vhost: 'smart',
|
|
|
- },
|
|
|
- app: true,
|
|
|
- agent: true,
|
|
|
- };
|
|
|
+ // config.amqp = {
|
|
|
+ // client: {
|
|
|
+ // hostname: '127.0.0.1',
|
|
|
+ // username: 'wy',
|
|
|
+ // password: '1',
|
|
|
+ // vhost: 'smart',
|
|
|
+ // },
|
|
|
+ // app: true,
|
|
|
+ // agent: true,
|
|
|
+ // };
|
|
|
|
|
|
return config;
|
|
|
};
|