File tree 1 file changed +6
-3
lines changed
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) {
91
91
}
92
92
93
93
let options = {
94
- 'host' : this . _baseurl . host ,
94
+ 'hostname' : this . _baseurl . hostname ,
95
+ 'port' : this . _baseurl . port ,
95
96
'path' : url . resolve ( this . _baseurl . path , endpoint ) ,
96
97
'method' : method ,
97
98
'headers' : headers
@@ -230,7 +231,8 @@ function ConManager(baseurl, token_name) {
230
231
}
231
232
232
233
let options = {
233
- 'host' : this . _baseurl . host ,
234
+ 'hostname' : this . _baseurl . hostname ,
235
+ 'port' : this . _baseurl . port ,
234
236
'path' : url . resolve ( this . _baseurl . path , `fileupload/part/${ uuid } /${ off } ` ) ,
235
237
'method' : 'PUT' ,
236
238
'headers' : headers
@@ -340,7 +342,8 @@ function ConManager(baseurl, token_name) {
340
342
}
341
343
342
344
let options = {
343
- 'host' : urlpath . host ,
345
+ 'hostname' : urlpath . hostname ,
346
+ 'port' : urlpath . port ,
344
347
'path' : urlpath . path ,
345
348
'method' : 'GET' ,
346
349
'headers' : headers
You can’t perform that action at this time.
0 commit comments