File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,8 @@ function ConManager(baseurl, token_name) {
9191 }
9292
9393 let options = {
94- 'host' : this . _baseurl . host ,
94+ 'hostname' : this . _baseurl . hostname ,
95+ 'port' : this . _baseurl . port ,
9596 'path' : url . resolve ( this . _baseurl . path , endpoint ) ,
9697 'method' : method ,
9798 'headers' : headers
@@ -230,7 +231,8 @@ function ConManager(baseurl, token_name) {
230231 }
231232
232233 let options = {
233- 'host' : this . _baseurl . host ,
234+ 'hostname' : this . _baseurl . hostname ,
235+ 'port' : this . _baseurl . port ,
234236 'path' : url . resolve ( this . _baseurl . path , `fileupload/part/${ uuid } /${ off } ` ) ,
235237 'method' : 'PUT' ,
236238 'headers' : headers
@@ -340,7 +342,8 @@ function ConManager(baseurl, token_name) {
340342 }
341343
342344 let options = {
343- 'host' : urlpath . host ,
345+ 'hostname' : urlpath . hostname ,
346+ 'port' : urlpath . port ,
344347 'path' : urlpath . path ,
345348 'method' : 'GET' ,
346349 'headers' : headers
You can’t perform that action at this time.
0 commit comments