We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dff7d3 commit edb47abCopy full SHA for edb47ab
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@secjs/utils",
3
- "version": "1.7.1",
+ "version": "1.7.2",
4
"description": "",
5
"license": "MIT",
6
"author": "João Lenon",
src/Classes/Parser.ts
@@ -272,7 +272,8 @@ export class Parser {
272
} else {
273
url = url.concat(host)
274
275
- if (port) url = url.concat(`:${port}`)
+ // If port exists and host does not include more than one host
276
+ if (port && !host.includes(',')) url = url.concat(`:${port}`)
277
}
278
279
url = url.concat(`/${database}`)
0 commit comments