diff --git a/strr-base-web/app/middleware/enable-sbc-web-messenger.global.ts b/strr-base-web/app/middleware/enable-sbc-web-messenger.global.ts index 88a05367..8cec6182 100644 --- a/strr-base-web/app/middleware/enable-sbc-web-messenger.global.ts +++ b/strr-base-web/app/middleware/enable-sbc-web-messenger.global.ts @@ -13,6 +13,7 @@ export default defineNuxtRouteMiddleware(async (to) => { const initWebMsg = () => { if (!genesysUrl || !environmentKey || !deploymentKey) { console.warn('Missing Sbc Web Messenger config, aborting setup.') + return } window._genesysJs = 'Genesys'