mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-27 00:48:41 +00:00
fix builder bug with ports
This commit is contained in:
parent
ddb28a7142
commit
0faa4de2f7
|
|
@ -166,7 +166,7 @@ export class UriFactory
|
|||
+ (typeof parsed.username !== 'undefined' ? parsed.username + ':' : '')
|
||||
+ (typeof parsed.password !== 'undefined' ? parsed.password + '@' : '')
|
||||
+ (typeof parsed.host !== 'undefined' ? parsed.host : '')
|
||||
+ (typeof parsed.port !== 'undefined' ? parsed.port : '')
|
||||
+ (typeof parsed.port !== 'undefined' ? ':' + parsed.port : '')
|
||||
+ (typeof parsed.path !== 'undefined' ? parsed.path : '')
|
||||
+ (typeof parsed.query !== 'undefined' ? '?' + pars.join('&') : '')
|
||||
+ (typeof parsed.fragment !== 'undefined' ? '#' + fragments[fragments.length - 1] : '');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user