Browse Source

Pull request #7130: REPORT-91396 fix:拼接url精准匹配:database

Merge in DEC/decision-webui-dcm from ~ARIES.LSY/decision-webui-dcm:final/11.0 to final/11.0

* commit '6cbfe979123a08eafda150cbbc8efc54ea138262':
  REPORT-91396 fix:拼接url精准匹配:database
final/11.0
Aries.Lsy-黎思妤 2 years ago
parent
commit
39fb20d36d
  1. 1
      src/modules/app.service.ts

1
src/modules/app.service.ts

@ -77,6 +77,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(':database', `:${database}`)
.replace('dbname', database); .replace('dbname', database);
} }

Loading…
Cancel
Save