Skip to content

Commit

Permalink
add return if missing config
Browse files Browse the repository at this point in the history
  • Loading branch information
deetz99 committed Jan 13, 2025
1 parent d76962c commit 4470714
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4470714

Please sign in to comment.