From 403dfdbb83bc5e7812827bc6d29d4f873050b76d Mon Sep 17 00:00:00 2001 From: Boris Feld Date: Thu, 19 Dec 2024 11:34:28 +0100 Subject: [PATCH] Update Dify Chatbot id (#930) Updating Dify APP name don't seems to works, so I duplicated the app with a better name instead. --- apps/opik-documentation/documentation/src/theme/Root.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opik-documentation/documentation/src/theme/Root.tsx b/apps/opik-documentation/documentation/src/theme/Root.tsx index 39c27426d7..a8df8db5e4 100644 --- a/apps/opik-documentation/documentation/src/theme/Root.tsx +++ b/apps/opik-documentation/documentation/src/theme/Root.tsx @@ -162,13 +162,13 @@ export default function Root({ children }) { // Initialize Dify chatbot const script1 = document.createElement("script"); script1.textContent = `window.difyChatbotConfig = { - token: '2B9Ow0rBFpYOW8f6' + token: 'fsuGIcZVsGayZOB2' }`; document.body.appendChild(script1); const script2 = document.createElement("script"); script2.textContent = dify_embed_min_js; - script2.id = "2B9Ow0rBFpYOW8f6"; + script2.id = "fsuGIcZVsGayZOB2"; document.head.appendChild(script2); const style = document.createElement("style");