feat: redis conf

This commit is contained in:
mozzie 2023-02-16 18:01:08 +08:00
parent 46602eda09
commit 1e371d17b0

View File

@ -33,13 +33,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
mongoose: {
dataSource: {
default: {
uri: 'mongodb://mozzie.cn:27017/backset',
options: {
useNewUrlParser: true,
useUnifiedTopology: true,
user: 'backset',
pass: 'cr654654.',
},
uri: 'mongodb://backset:cr654654.@mozzie.cn:37017/backset',
},
},
},