canvas-data-cli icon indicating copy to clipboard operation
canvas-data-cli copied to clipboard

httpsProxy for filedownloader.js

Open lanedsmu opened this issue 4 years ago • 0 comments

Description

Looking at the .js libs in use, it appears that while Api.js implements the httpsProxy setting from config.js, FileDownloader.js does not.

Specifically, it appears this request builder: var r = request({ method: 'GET', url: downloadLink.url });

Might need a proxy opt: var r = request({ method: 'GET', url: downloadLink.url, proxy: config.httpsProxy });

Additional Information

  • Node Version v12.18.3
  • Platform: Windows
  • Logs: N/A

lanedsmu avatar Jun 03 '21 21:06 lanedsmu