diff --git a/src/background/install.js b/src/background/install.js index dfca740..40fa9d3 100644 --- a/src/background/install.js +++ b/src/background/install.js @@ -1,27 +1,27 @@ -const APP_ID = "cad18a8d91f3675493058223c0dbf3905de1d8c38b23fad22391f53156d44827" +const APP_ID = "" // Handle setting the environment up based off of if we're installed in // temporary mode or node async function afterInstall(details) { //console.log("Extension installed", details) - let data = { + const data = { appid: APP_ID } if(details.temporary) { - data = { + Object.assign(data, { env: "DEV", endpoint: "http://localhost:3000", access_token: "" - } + }) //const redirectURL = browser.identity.getRedirectURL() //console.log(`Redirect URL ${redirectURL}`) } else { - data = { + Object.assign(data, { env: "PROD", endpoint: "https://transientbug.ninja" - } + }) } browser.storage.local.set(data) diff --git a/src/manifest.json b/src/manifest.json index 6c26a98..ef3b335 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "transientBug", - "version": "1.0", + "version": "1.0.1", "description": "Allows for quick bookmarking of websites in transientBug", "homepage_url": "https://github.com/transientBug/firefox-extension",