Skip to content

Commit

Permalink
use http for demo in uat environment
Browse files Browse the repository at this point in the history
william's mac committed Jul 19, 2019
1 parent 67cbdb0 commit 2b8dd7b
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/app/src/constants/paths.js
Original file line number Diff line number Diff line change
@@ -123,8 +123,8 @@ export function routeToMicroservice(service, path = '', urlParams = {}) {
fullPath = devRoute;
break;

case ENV_NAME_UAT:
fullPath = `${HTTPS_PREFIX}${service}${UAT_APEX}${path}`;
case ENV_NAME_UAT: // use HTTP for demo
fullPath = `${HTTP_PREFIX}${service}${UAT_APEX}${path}`;
break;

case ENV_NAME_PRODUCTION:
4 changes: 2 additions & 2 deletions frontend/myaccount/src/utility.js
Original file line number Diff line number Diff line change
@@ -46,8 +46,8 @@ export function routeToMicroservice(service, path = '') {
case ENV_NAME_DEVELOPMENT:
return devRoute;

case ENV_NAME_UAT:
return `${HTTPS_PREFIX}${service}${UAT_APEX}${path}`;
case ENV_NAME_UAT: // use http for demo
return `${HTTP_PREFIX}${service}${UAT_APEX}${path}`;

case ENV_NAME_PRODUCTION:
return `${HTTPS_PREFIX}${service}${PRODUCTION_APEX}${path}`;
File renamed without changes.

0 comments on commit 2b8dd7b

Please sign in to comment.