fix: use expires FlareSolverr cookie prop
expiry seems to be only existing in Byparr
This commit is contained in:
parent
d0802fea50
commit
4de5be2624
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ interface HostQueue {
|
|||
|
||||
interface FlareResolverCookie {
|
||||
domain: string;
|
||||
expiry: number;
|
||||
expires: number;
|
||||
httpOnly: boolean;
|
||||
name: string;
|
||||
path: string;
|
||||
|
|
@ -119,7 +119,7 @@ export class Fetcher {
|
|||
new Cookie({
|
||||
key: cookie.name,
|
||||
value: cookie.value,
|
||||
expires: new Date(cookie.expiry * 1000),
|
||||
expires: new Date(cookie.expires * 1000),
|
||||
domain: cookie.domain.replace(/^.+/, ''),
|
||||
}),
|
||||
url.href,
|
||||
|
|
|
|||
Loading…
Reference in a new issue