File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,8 +22,9 @@ VUE_APP_LEGAL_API_VERSION_2="/api/v2"
2222VUE_APP_BUSINESS_API_GW_URL = " https://test.api.connect.gov.bc.ca/business-dev"
2323VUE_APP_BUSINESS_API_VERSION_2 = " /api/v2"
2424VUE_APP_BUSINESS_API_KEY = " "
25- VUE_APP_NAMEX_API_URL = " https://namex- api-dev-475224072965.northamerica-northeast1.run.app "
25+ VUE_APP_NAMEX_API_GW_URL = " https://test. api.connect.gov.bc.ca/namex-dev "
2626VUE_APP_NAMEX_API_VERSION = " /api/v1"
27+ VUE_APP_NAMEX_API_KEY =
2728VUE_APP_STATUS_API_URL = " https://status-api-dev.apps.gold.devops.gov.bc.ca"
2829VUE_APP_STATUS_API_VERSION = " /api/v1"
2930VUE_APP_REGISTRIES_SEARCH_API_URL = " https://bcregistry-dev.apigee.net/registry-search"
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ VUE_APP_LEGAL_API_VERSION_2="op://API/$APP_ENV/legal-api/LEGAL_API_VERSION_2"
2323VUE_APP_BUSINESS_API_GW_URL = " op://API/$APP_ENV /business-api/BUSINESS_API_GW_URL"
2424VUE_APP_BUSINESS_API_VERSION_2 = " op://API/$APP_ENV /business-api/BUSINESS_API_VERSION_2"
2525VUE_APP_BUSINESS_API_KEY = " op://API/$APP_ENV /business-api/BUSINESS_API_KEY"
26- VUE_APP_NAMEX_API_URL = " op://API/$APP_ENV /namex-api/NAMEX_API_URL "
26+ VUE_APP_NAMEX_API_GW_URL = " op://API/$APP_ENV /namex-api/NAMEX_API_GW_URL "
2727VUE_APP_NAMEX_API_VERSION = " op://API/$APP_ENV /namex-api/NAMEX_API_VERSION"
28+ VUE_APP_NAMEX_API_KEY = " op://API/$APP_ENV /namex-api/NAMEX_API_KEY"
2829VUE_APP_STATUS_API_URL = " op://API/$APP_ENV /status-api/STATUS_API_URL"
2930VUE_APP_STATUS_API_VERSION = " op://API/$APP_ENV /status-api/STATUS_API_VERSION"
3031VUE_APP_REGISTRIES_SEARCH_API_URL = " op://API/$APP_ENV /registries-search-api/REGISTRIES_SEARCH_API_URL"
Original file line number Diff line number Diff line change 11{
22 "name" : " name-request" ,
3- "version" : " 5.5.43 " ,
3+ "version" : " 5.5.44 " ,
44 "private" : true ,
55 "appName" : " Name Request UI" ,
66 "sbcName" : " SBC Common Components" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import VueRouter from 'vue-router'
33import { routes } from './routes'
44
55/** Global variable to store the custom base URL. */
6- const appBaseURL : string = process . env . VUE_APP_NAMEX_API_URL + process . env . VUE_APP_NAMEX_API_VERSION
6+ const appBaseURL : string = process . env . VUE_APP_NAMEX_API_GW_URL + process . env . VUE_APP_NAMEX_API_VERSION
77
88/** Configures and returns Vue Router. */
99export function getVueRouter ( ) {
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ axiosNamex.interceptors.request.use(
2828 config . headers . common [ 'BCREG-User-Phone' ] = sessionStorage . getItem ( 'BCREG-phoneNumber' )
2929 config . headers . common [ 'BCREG-User-Email' ] = sessionStorage . getItem ( 'BCREG-emailAddress' )
3030 config . headers . common [ 'App-Name' ] = pkg . name
31+ config . headers . common [ 'X-Apikey' ] = process . env . VUE_APP_NAMEX_API_KEY || ''
3132 // eslint-disable-next-line no-console
3233 // console.log('in interceptor, common headers: ', config?.headers?.common)
3334 return config
You can’t perform that action at this time.
0 commit comments