mirror of
https://github.com/skidoodle/hostinfo
synced 2026-04-28 17:47:36 +02:00
fix cache
This commit is contained in:
@@ -7,6 +7,7 @@ export const StorageService = {
|
||||
try {
|
||||
const res = await browser.storage.session.get(key);
|
||||
if (res[key]) return res[key] as TabState;
|
||||
return null;
|
||||
} catch { }
|
||||
}
|
||||
const res = await browser.storage.local.get(`session_${key}`);
|
||||
|
||||
Reference in New Issue
Block a user