permissions for spot

This commit is contained in:
nick-delirium 2024-09-04 13:02:53 +02:00
parent ccca40011b
commit af28a291df
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
2 changed files with 3 additions and 1 deletions

View file

@ -491,6 +491,9 @@ export default defineBackground(() => {
if (request.type === messages.popup.from.updateSettings) {
const updatedObject = Object.assign(settings, request.settings);
settings = updatedObject;
if ('ingestPoint' in request.settings) {
setJWTToken("")
}
chrome.storage.local.set({ settings: updatedObject });
}
if (request.type === messages.content.from.checkRecStatus) {

View file

@ -23,7 +23,6 @@ export default defineConfig({
permissions: [
"storage",
"tabCapture",
"tabs",
"offscreen",
"unlimitedStorage",
"webRequest",