This commit is contained in:
		@@ -12,7 +12,12 @@ export default {
 | 
			
		||||
    return {}
 | 
			
		||||
  },
 | 
			
		||||
  mounted: () => {
 | 
			
		||||
    window.botpressWebChat.init({ host: process.env.BOTPRESS_HOST, botId: 'joinbot', enableReset: false,
 | 
			
		||||
    let host = 'https://joinbot.tk'
 | 
			
		||||
    if (process.env.NODE_ENV === 'development') {
 | 
			
		||||
      host = 'http://localhost:3000'
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    window.botpressWebChat.init({ host: host, botId: 'joinbot', enableReset: false,
 | 
			
		||||
      enableTranscriptDownload: false,
 | 
			
		||||
      hideWidget: true,
 | 
			
		||||
      extraStylesheet: '/assets/modules/channel-web/chat.css',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user