Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deetz99 committed Jan 13, 2025
1 parent b9c14ac commit cfe1abc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export default defineNuxtRouteMiddleware(async (to) => {
const deploymentKey = rtc.genesysDeploymentKey as string

const initWebMsg = () => {
if (!genesysUrl || !environmentKey || !deploymentKey) {
console.warn('Missing Sbc Web Messenger config, aborting setup.')
}

window._genesysJs = 'Genesys'
window.Genesys = window.Genesys || function (...args: any) {
(window.Genesys.q = window.Genesys.q || []).push(args)
Expand Down
4 changes: 2 additions & 2 deletions strr-base-web/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export default defineNuxtConfig({
declineTosRedirectUrl: process.env.NUXT_DECLINE_TOS_REDIRECT_URL,
bcGovStrrUrl: process.env.NUXT_BCGOV_STRR_URL,
genesysUrl: process.env.NUXT_GENESYS_URL,
genesysEnvironmentKey: process.env.NUXT_GENESYS_ENVIRONMENT_KEY || '',
genesysDeploymentKey: process.env.NUXT_GENESYS_DEPLOYMENT_KEY || ''
genesysEnvironmentKey: process.env.NUXT_GENESYS_ENVIRONMENT_KEY,
genesysDeploymentKey: process.env.NUXT_GENESYS_DEPLOYMENT_KEY
// set by layer - still required in .env
// keycloakAuthUrl - NUXT_KEYCLOAK_AUTH_URL
// keycloakClientId - NUXT_KEYCLOAK_CLIENTID
Expand Down

0 comments on commit cfe1abc

Please sign in to comment.