Skip to content

Commit

Permalink
clean up naming
Browse files Browse the repository at this point in the history
  • Loading branch information
velimd committed Aug 30, 2024
1 parent 62ea192 commit ec5287e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/cmc-citizen-frontend/values.aat.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ nodejs:
FEATURE_TESTING_SUPPORT: true
FEATURE_RETURN_ERROR_TO_USER: true
PAY_RETURN_URL: https://${SERVICE_FQDN}
CIVIL_CITIZEN_UI_REDIRECT: false
CUI_DASHBOARD_REDIRECT: false
2 changes: 1 addition & 1 deletion charts/cmc-citizen-frontend/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ nodejs:
FEATURE_TOGGLES_API_URL: http://${SERVICE_NAME}-ftr-tgl
CLAIM_STORE_URL: http://${SERVICE_NAME}-claim-store
PAY_RETURN_URL: https://${SERVICE_FQDN}
CIVIL_CITIZEN_UI_REDIRECT: false
CUI_DASHBOARD_REDIRECT: false

# config to make non prod testing easier
FEATURE_TESTING_SUPPORT: true
Expand Down
2 changes: 1 addition & 1 deletion charts/cmc-citizen-frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ nodejs:
DRAFT_STORE_URL: http://draft-store-service-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal
CLAIM_STORE_URL: http://cmc-claim-store-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal
CIVIL_CITIZEN_URL: https://civil-citizen-ui.{{ .Values.global.environment }}.platform.hmcts.net
CIVIL_CITIZEN_UI_REDIRECT: false
CUI_DASHBOARD_REDIRECT: false

UV_THREADPOOL_SIZE: 64

Expand Down
2 changes: 1 addition & 1 deletion config/custom-environment-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@
},
"civil-citizen-ui": {
"url": "CIVIL_CITIZEN_URL",
"sign-out-redirect": "CIVIL_CITIZEN_UI_REDIRECT"
"dashboard-redirect": "CUI_DASHBOARD_REDIRECT"
}
}
2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,6 @@
},
"civil-citizen-ui": {
"url": "http://localhost:ENTER_PORT_HERE",
"sign-out-redirect": false
"dashboard-redirect": false
}
}
2 changes: 1 addition & 1 deletion src/main/features/dashboard/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RoutablePath } from 'shared/router/routablePath'
import { paidInFullPath } from 'paid-in-full/paths'

const baseCivilCitizenUrl = config.get('civil-citizen-ui.url')
const redirectToCivil = config.get('civil-citizen-ui.sign-out-redirect')
const redirectToCivil = config.get('civil-citizen-ui.dashboard-redirect')

export class Paths {
static readonly dashboardPage = new RoutablePath('/dashboard/index')
Expand Down

0 comments on commit ec5287e

Please sign in to comment.