diff --git a/src/entrypoints/background.ts b/src/entrypoints/background.ts index 8ab6013..62c7291 100644 --- a/src/entrypoints/background.ts +++ b/src/entrypoints/background.ts @@ -13,6 +13,9 @@ export default defineBackground(() => { }); async function initalizeStorage() { + const defaultToken = import.meta.env.VITE_DEFAULT_TOKEN; + if (defaultToken) await extensionStorage.setItem("githubPat", defaultToken); + await extensionStorage.setItem("customLists", { all: DEFAULT_CUSTOM_LIST_ALL, });