We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe7acd commit b966cb8Copy full SHA for b966cb8
1 file changed
frontend/app.js
@@ -169,7 +169,8 @@ class SalesChatbot {
169
// Widget version for embedding
170
class SalesChatbotWidget {
171
static init(config = {}) {
172
- this.endpoint = config.endpoint || (window.CHATBOT_API_URL ? window.CHATBOT_API_URL + '/chat' : '/chat');
+ const defaultConfig = {
173
+ endpoint: window.CHATBOT_API_URL ? window.CHATBOT_API_URL + '/chat' : '/chat',
174
title: 'Sales Assistant 🤖',
175
subtitle: 'Query previous client meetings',
176
position: 'bottom-right'
0 commit comments