|
|
@ -103,6 +103,7 @@ export default class ScalewayObjectStorage implements IStorageAdapterV2 { |
|
|
|
.get(url, { |
|
|
|
.get(url, { |
|
|
|
httpAgent: useAgent(url, { stopPortScanningByUrlRedirection: true }), |
|
|
|
httpAgent: useAgent(url, { stopPortScanningByUrlRedirection: true }), |
|
|
|
httpsAgent: useAgent(url, { stopPortScanningByUrlRedirection: true }), |
|
|
|
httpsAgent: useAgent(url, { stopPortScanningByUrlRedirection: true }), |
|
|
|
|
|
|
|
// TODO - use stream instead of buffer
|
|
|
|
responseType: 'arraybuffer', |
|
|
|
responseType: 'arraybuffer', |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then((response) => { |
|
|
|
.then((response) => { |
|
|
|