shorten cookie class a bit
This commit is contained in:
parent
e5bf5729d1
commit
c9dc1d99ed
|
@ -74,9 +74,8 @@ export default class Cookie {
|
||||||
this.domain = v;
|
this.domain = v;
|
||||||
this.subdomains = true;
|
this.subdomains = true;
|
||||||
}
|
}
|
||||||
else if(k === "path") {
|
else if(k === "path")
|
||||||
this.path = v;
|
this.path = v;
|
||||||
}
|
|
||||||
else if(k === "samesite") // only relevant for cross site requests, so not for us
|
else if(k === "samesite") // only relevant for cross site requests, so not for us
|
||||||
continue;
|
continue;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user