Skip to content

Commit

Permalink
Add new production endpoint; allow access to tidepool.org; required f…
Browse files Browse the repository at this point in the history
…or new cluster
  • Loading branch information
darinkrauss committed Oct 11, 2015
1 parent 12c4e72 commit 048a69c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ var contextMenus = [
parentId: 'MENUROOT',
checked: false
},
{
type: 'radio',
id: 'Prd',
title: 'Prd',
contexts: contexts,
parentId: 'MENUROOT',
checked: false
},
{
type: 'radio',
id: 'Development',
Expand Down Expand Up @@ -81,6 +89,11 @@ function setServer(window, info) {
UPLOAD_URL: 'http://localhost:9122',
BLIP_URL: 'http://localhost:3000'
},
Prd: {
API_URL: 'https://prd-api.tidepool.org',
UPLOAD_URL: 'https://prd-uploads.tidepool.org',
BLIP_URL: 'https://prd-blip.tidepool.org'
},
Development: {
API_URL: 'https://devel-api.tidepool.io',
UPLOAD_URL: 'https://devel-uploads.tidepool.io',
Expand Down
1 change: 1 addition & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"permissions": [
"http://localhost/",
"https://*.tidepool.io/",
"https://*.tidepool.org/",
"contextMenus",
"fileSystem",
"system.storage",
Expand Down

0 comments on commit 048a69c

Please sign in to comment.