Skip to content

Commit

Permalink
test with env variables - endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
nohshow committed Dec 30, 2015
1 parent fb91ea7 commit 89da731
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions routes/jdg.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

var DG_HOSTNAME_HTTP= process.env.DG_HOSTNAME_HTTP;
var DG_PORT_HTTP= process.env.DG_PORT_HTTP;
var DATAGRID_APP_DG_SERVICE_HOST=process.env.DATAGRID_APP_DG_SERVICE_HOST;
var DATAGRID_APP_DG_SERVICE_PORT=process.env.DATAGRID_APP_DG_SERVICE_PORT;

//var DATAGRID_APP_DG_SERVICE_HOST=process.env.DATAGRID_APP_DG_SERVICE_HOST;
//var DATAGRID_APP_DG_SERVICE_PORT=process.env.DATAGRID_APP_DG_SERVICE_PORT;
var DATAGRID_APP_DG_SERVICE_HOST=process.env.EXTERNAL_DG_SERVICE_SERVICE_HOST;
var DATAGRID_APP_DG_SERVICE_PORT=process.env.EXTERNAL_DG_SERVICE_SERVICE_PORT;
var jdgOptions={
host: DATAGRID_APP_DG_SERVICE_HOST,
//path: "/rest/teams/test",
Expand Down

0 comments on commit 89da731

Please sign in to comment.