Skip to content

Commit 9d499c4

Browse files
Update extra.js going back to old build
1 parent f753ad3 commit 9d499c4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/javascripts/extra.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ document$.subscribe(() => {
33
const script = document.createElement('script');
44
script.type = 'module';
55
script.innerHTML = `
6-
import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
7-
6+
// import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
7+
import Chatbot from "https://cdn.jsdelivr.net/npm/[email protected]/dist/web.js"
88
// Generate or get a user ID
99
const getUserId = () => {
1010
// Check if userId exists in localStorage
@@ -19,10 +19,10 @@ document$.subscribe(() => {
1919
return userId;
2020
};
2121
Chatbot.init({
22-
// chatflowid: "1887fe55-12c2-448b-8a3e-4a0a57a7841f",
23-
// apiHost: "https://flowise-public.vlr.chat",
24-
chatflowid: "bda1c921-106d-462e-97df-217a124219da",
25-
apiHost: "https://xlr-chat.app.flowiseai.com",
22+
chatflowid: "1887fe55-12c2-448b-8a3e-4a0a57a7841f",
23+
apiHost: "https://flowise-public.vlr.chat",
24+
// chatflowid: "bda1c921-106d-462e-97df-217a124219da",
25+
// apiHost: "https://xlr-chat.app.flowiseai.com",
2626
chatflowConfig: {
2727
// // topK: 2
2828
// // userId: getUserId(), // Add the userId here

0 commit comments

Comments
 (0)