From fd698f5970ffe0b3e60e53e80a4b15e84932e4da Mon Sep 17 00:00:00 2001 From: "Aries.lsy" <”Aries.lsy@fanruan.com“> Date: Fri, 3 Mar 2023 10:00:38 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-90864=20fix:=E6=8B=BC=E6=8E=A5url?= =?UTF-8?q?=E7=B2=BE=E5=87=86=E5=8C=B9=E9=85=8D/database?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/app.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/app.service.ts b/src/modules/app.service.ts index e35475f..bc8dc60 100644 --- a/src/modules/app.service.ts +++ b/src/modules/app.service.ts @@ -76,7 +76,7 @@ export function splitUrl(host: string, port: string, database: string, baseUrl: } return baseUrl.replace('hostname', host).replace(':port', port ? `:${port}` : '') - .replace('database', database) + .replace('/database', `/${database}`) .replace('dbname', database); }