From 1e371d17b024261653de0f912759d5ed5cc1da84 Mon Sep 17 00:00:00 2001 From: mozzie Date: Thu, 16 Feb 2023 18:01:08 +0800 Subject: [PATCH] feat: redis conf --- apps/server/src/config/config.local.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/server/src/config/config.local.ts b/apps/server/src/config/config.local.ts index 80a7d16..ebeb62d 100644 --- a/apps/server/src/config/config.local.ts +++ b/apps/server/src/config/config.local.ts @@ -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', }, }, },