| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent aa2be4b commit cc94986
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ function check(url, cb) { | |||
| 18 | 18 | assert(res.statusCode >= 200 && res.statusCode < 400); | |
| 19 | 19 | ||
| 20 | 20 | if (res.statusCode >= 300) | |
| 21 | - return check(res.headers.location, cb); | ||
| 21 | + return check(new URL(res.headers.location, url), cb); | ||
| 22 | 22 | ||
| 23 | 23 | let result = ''; | |
| 24 | 24 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments