Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamqweasd authored Sep 1, 2017
1 parent 6a00d3c commit 8ca349b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,10 @@ function setUpAnalytics() {

if(process.env["IS_STAGING"]){
if (process.env["CLOUDBOOST_ANALYTICS_STAGING_SERVICE_HOST"]) {
global.keys.analyticsUrl = "https://" + process.env["CLOUDBOOST_ANALYTICS_STAGING_SERVICE_HOST"];
global.keys.analyticsUrl = "http://" + process.env["CLOUDBOOST_ANALYTICS_STAGING_SERVICE_HOST"];
}
} else {
global.keys.analyticsUrl = "https://" + process.env["CLOUDBOOST_ANALYTICS_SERVICE_HOST"];
global.keys.analyticsUrl = "http://" + process.env["CLOUDBOOST_ANALYTICS_SERVICE_HOST"];
}
console.log(global.keys.analyticsUrl);

Expand Down

0 comments on commit 8ca349b

Please sign in to comment.