Skip to content

Commit

Permalink
rename envs
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinmerbach committed Oct 25, 2023
1 parent a2b436f commit b435a26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/ite-portal/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const isIE =
window.navigator.userAgent.includes('MSIE ') ||
window.navigator.userAgent.includes('Trident/');

const NX_AD_CLIENT_ID = environment.adClientId || '';
const NX_AD_TID = environment.adTid || '';
const NX_AD_CLIENT_ID = environment.NX_AD_CLIENT_ID || '';
const NX_AD_TID = environment.NX_AD_TID_PROD || '';
const readScope = `api://${NX_AD_CLIENT_ID}/Read`;
const gatewayApiUrl = environment.gatewayApi || '';
const portalApiUrl = environment.portalApi || '';
Expand Down
4 changes: 2 additions & 2 deletions apps/ite-portal/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export const environment = {
production: true,
gatewayApi: 'https://api-provider.dbh.dc.gov',
portalApi: 'https://api-portal.dbh.dc.gov',
adClientId: process.env['NX_AD_CLIENT_ID_PROD'],
adTid: process.env['NX_AD_TID_PROD'],
NX_AD_CLIENT_ID: process.env['NX_AD_CLIENT_ID_PROD'],
NX_AD_TID_PROD: process.env['NX_AD_TID_PROD'],
};
4 changes: 2 additions & 2 deletions apps/ite-portal/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const environment = {
production: false,
gatewayApi: 'https://api.provider.dev.dbhite.com',
portalApi: 'https://api.portal.dev.dbhite.com',
adClientId: process.env['NX_AD_CLIENT_ID'],
adTid: process.env['NX_AD_TID'],
NX_AD_CLIENT_ID: process.env['NX_AD_CLIENT_ID'],
NX_AD_TID_PROD: process.env['NX_AD_TID'],
};

/*
Expand Down

0 comments on commit b435a26

Please sign in to comment.