kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
added 'x-user-agent' to get past cloudfront
rodzic
e28b99e782
commit
564a5715cb
|
@ -12182,7 +12182,7 @@ function getBuffer(file_url, callback, flag, mode, port, cache = null)
|
||||||
port: port,
|
port: port,
|
||||||
followAllRedirects: true,
|
followAllRedirects: true,
|
||||||
path: url.parse(file_url).path, // eslint-disable-line node/no-deprecated-api
|
path: url.parse(file_url).path, // eslint-disable-line node/no-deprecated-api
|
||||||
headers: { "User-Agent": gtUserAgent }
|
headers: { "User-Agent": gtUserAgent, "x-user-agent": gtUserAgent }
|
||||||
};
|
};
|
||||||
|
|
||||||
http.get(options, function (res)
|
http.get(options, function (res)
|
||||||
|
|
Ładowanie…
Reference in New Issue