Browse Source

Merge pull request #7080 in DEC/decision-webui-dcm from release/11.0 to bugfix/11.0

* commit '963c365a5b71ed5ab5bc1d808b32431a32fa5adb':
  REPORT-90864 fix:拼接url精准匹配/database
bugfix/11.0
superman 2 years ago
parent
commit
84d71a6fc0
  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