From c9dc1d99ed2d58cd90f619efe257216619428cf8 Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Thu, 15 Aug 2019 22:59:28 +0200 Subject: [PATCH] shorten cookie class a bit --- src/cookie.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cookie.mjs b/src/cookie.mjs index b409c3f..e80ea8e 100644 --- a/src/cookie.mjs +++ b/src/cookie.mjs @@ -74,9 +74,8 @@ export default class Cookie { this.domain = v; this.subdomains = true; } - else if(k === "path") { + else if(k === "path") this.path = v; - } else if(k === "samesite") // only relevant for cross site requests, so not for us continue; else