Browse Source

REPORT-90864 fix:拼接url精准匹配/database

release/11.0
Aries.lsy 2 years ago
parent
commit
fd698f5970
  1. 2
      src/modules/app.service.ts

2
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}` : '') return baseUrl.replace('hostname', host).replace(':port', port ? `:${port}` : '')
.replace('database', database) .replace('/database', `/${database}`)
.replace('dbname', database); .replace('dbname', database);
} }

Loading…
Cancel
Save