Chatwoot/app/javascript/shared/mixins/configMixin.js

17 lines
360 B
JavaScript
Raw Permalink Normal View History

export default {
computed: {
hostURL() {
return window.chatwootConfig.hostURL;
},
vapidPublicKey() {
return window.chatwootConfig.vapidPublicKey;
},
enabledLanguages() {
return window.chatwootConfig.enabledLanguages;
},
isEnterprise() {
return window.chatwootConfig.isEnterprise === 'true';
},
},
};