Skip to content
This repository has been archived by the owner on Oct 7, 2019. It is now read-only.

Commit

Permalink
small bugfix and version bump for a problem with overwriting the app id
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshAshby committed Feb 11, 2018
1 parent 15b677c commit 34e770e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/background/install.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down

0 comments on commit 34e770e

Please sign in to comment.