From 92651ed66bf44631f22e32281c98513995e575a5 Mon Sep 17 00:00:00 2001 From: Toshit Chawda Date: Sun, 14 Jul 2024 16:33:38 -0700 Subject: [PATCH] fix bad linters/browsers --- src/worker/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/worker/index.ts b/src/worker/index.ts index 561d34e..670f443 100644 --- a/src/worker/index.ts +++ b/src/worker/index.ts @@ -79,11 +79,11 @@ self.ScramjetServiceWorker = class ScramjetServiceWorker { if (host && host !== url.host) { if (host.startsWith(".")) host = host.slice(1); - const cookieStore = new IDBMap(host, { + const realCookieStore = new IDBMap(host, { durability: "relaxed", prefix: "Cookies", }); - cookieStore.set(key, { value: value, args: cookieParsed }); + realCookieStore.set(key, { value: value, args: cookieParsed }); } else { cookieStore.set(key, { value: value, args: cookieParsed }); }