mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
fix bad linters/browsers
This commit is contained in:
parent
4906b71e47
commit
92651ed66b
1 changed files with 2 additions and 2 deletions
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue