Comparing version 3.1.1 to 3.1.2
@@ -160,6 +160,10 @@ 'use strict'; | ||
const cookie = response.headers.get('set-cookie'); | ||
const cookies = response.headers.get('set-cookie'); | ||
if (cookie) { | ||
await setCookie(cookie, url); | ||
if (cookies) { | ||
const cookieList = cookies.split(','); | ||
for (const cookie of cookieList) { | ||
await setCookie(cookie, url); | ||
} | ||
} | ||
@@ -166,0 +170,0 @@ } |
@@ -73,3 +73,3 @@ { | ||
}, | ||
"version": "3.1.1" | ||
"version": "3.1.2" | ||
} |
Sorry, the diff of this file is not supported yet
35656
308