Skip to content

Commit ce9ba43

Browse files
PROD-1844 #comment update logging service;
use APPENV to configure the env #time 10m
1 parent 8322f8b commit ce9ba43

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src-ts/config/environments/environment.config.ts

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ import { EnvironmentConfigProd } from './environment.prod.config'
88

99
function getEnvironmentConfig(): GlobalConfig {
1010

11-
// switch (process.env.REACT_APP_HOST_ENV) {
12-
// TODO: allow the use of a separate
13-
// process var (REACT_APP_HOST_ENV)
14-
// so that we can have more than just local/dev/prod
1511
switch (process.env.APPENV) {
1612

1713
case AppHostEnvironment.bsouza:

src-ts/config/environments/environment.default.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const EnvironmentConfigDefault: GlobalConfig = {
1010
ENV: AppHostEnvironment.default,
1111
LOGGING: {
1212
PUBLIC_TOKEN: 'puba0825671e469d16f940c5a30dc738f11',
13-
SERVICE: 'platform-ui',
13+
SERVICE: 'mfe-customer-work',
1414
},
1515
REAUTH_OFFSET: 55,
1616
TAG_MANAGER_ID: undefined,

start-bsouza.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export APPMODE=development
2-
export APPENV=local
3-
export REACT_APP_HOST_ENV=bsouza
2+
export APPENV=bsouza
43

54
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
65
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

0 commit comments

Comments
 (0)