Skip to content

Commit 9e2ec6e

Browse files
haoyunfeixcaisq
authored andcommitted
Fix problem that not uses proxy (tensorflow#244)
1 parent 0a69413 commit 9e2ec6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function downloadAndUnpackResource(uri, destPath, callback) {
5050
options.agent = new HttpsProxyAgent(proxy);
5151
}
5252

53-
const request = https.get(uri, response => {
53+
const request = https.get(options, response => {
5454
const bar = new ProgressBar('[:bar] :rate/bps :percent :etas', {
5555
complete: '=',
5656
incomplete: ' ',

0 commit comments

Comments
 (0)