From 048a69c38c311cddf1766196c79ddfe23eb81f35 Mon Sep 17 00:00:00 2001 From: Darin Krauss Date: Sat, 10 Oct 2015 17:54:49 -0700 Subject: [PATCH] Add new production endpoint; allow access to tidepool.org; required for new cluster --- main.js | 13 +++++++++++++ manifest.json | 1 + 2 files changed, 14 insertions(+) diff --git a/main.js b/main.js index 1ee65a8561..25ea0d9ef8 100644 --- a/main.js +++ b/main.js @@ -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', @@ -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', diff --git a/manifest.json b/manifest.json index cb065ef51d..805fae103f 100644 --- a/manifest.json +++ b/manifest.json @@ -24,6 +24,7 @@ "permissions": [ "http://localhost/", "https://*.tidepool.io/", + "https://*.tidepool.org/", "contextMenus", "fileSystem", "system.storage",