|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|