Skip to content

Commit

Permalink
Add Clinic and Integration environments to Login right-click menu
Browse files Browse the repository at this point in the history
  • Loading branch information
darinkrauss committed Mar 14, 2016
1 parent 8dbac03 commit d191b45
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ var contextMenus = [
parentId: 'MENUROOT',
checked: false
},
{
type: 'radio',
id: 'Clinic',
title: 'Clinic',
contexts: contexts,
parentId: 'MENUROOT',
checked: false
},
{
type: 'radio',
id: 'Staging',
Expand All @@ -64,6 +72,14 @@ var contextMenus = [
parentId: 'MENUROOT',
checked: false
},
{
type: 'radio',
id: 'Integration',
title: 'Integration',
contexts: contexts,
parentId: 'MENUROOT',
checked: false
},
{
type: 'radio',
id: 'Production',
Expand All @@ -86,11 +102,21 @@ function setServer(window, info) {
UPLOAD_URL: 'https://dev-uploads.tidepool.org',
BLIP_URL: 'https://dev-blip.tidepool.org'
},
Clinic: {
API_URL: 'https://dev-clinic-api.tidepool.org',
UPLOAD_URL: 'https://dev-clinic-uploads.tidepool.org',
BLIP_URL: 'https://dev-clinic-blip.tidepool.org'
},
Staging: {
API_URL: 'https://stg-api.tidepool.org',
UPLOAD_URL: 'https://stg-uploads.tidepool.org',
BLIP_URL: 'https://stg-blip.tidepool.org'
},
Integration: {
API_URL: 'https://int-api.tidepool.org',
UPLOAD_URL: 'https://int-uploads.tidepool.org',
BLIP_URL: 'https://int-blip.tidepool.org'
},
Production: {
API_URL: 'https://api.tidepool.org',
UPLOAD_URL: 'https://uploads.tidepool.org',
Expand Down

0 comments on commit d191b45

Please sign in to comment.