Skip to content

Commit c333684

Browse files
temp disable chatbot (#445)
* temp disable chatbot * added enabled flag
1 parent 539cd53 commit c333684

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/js/chatbot.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
(function() {
33
if (typeof window === 'undefined') return;
44

5+
// TEMPORARY DISABLE FLAG - Set to false to disable chatbot
6+
const CHATBOT_ENABLED = false;
7+
8+
if (!CHATBOT_ENABLED) {
9+
console.log('Chatbot is temporarily disabled');
10+
return;
11+
}
12+
513
// Set configuration
614
window.difyChatbotConfig = {
715
token: 'bYIppJMzMieMPDHm'

0 commit comments

Comments
 (0)