Merge pull request #964 from chain710/fixsetcookie

pull/975/head
shamoon 2 years ago committed by GitHub
commit 668df2d773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,6 +34,6 @@ export function addCookieToJar(url, headers) {
} }
for (let i = 0; i < cookies.length; i += 1) { for (let i = 0; i < cookies.length; i += 1) {
cookieJar.setCookieSync(cookies[i], url.toString()); cookieJar.setCookieSync(cookies[i], url.toString(), { ignoreError: true });
} }
} }

Loading…
Cancel
Save