Fix typo
This commit is contained in:
parent
c4add8f142
commit
334c0d933b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ function testUrl(url, cb, redirected) {
|
||||||
|
|
||||||
if (res.statusCode === 301 || res.statusCode === 302) {
|
if (res.statusCode === 301 || res.statusCode === 302) {
|
||||||
if (redirected) {
|
if (redirected) {
|
||||||
return cb("Too many redirects. Please provide a direct link to the "
|
return cb("Too many redirects. Please provide a direct link to the " +
|
||||||
"file");
|
"file");
|
||||||
}
|
}
|
||||||
return testUrl(res.headers['location'], cb, true);
|
return testUrl(res.headers['location'], cb, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue