Skip to content

Commit

Permalink
Update Dify Chatbot id (#930)
Browse files Browse the repository at this point in the history
Updating Dify APP name don't seems to works, so I duplicated the app with a better name instead.
  • Loading branch information
Lothiraldan authored Dec 19, 2024
1 parent 179d90d commit 403dfdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/opik-documentation/documentation/src/theme/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 403dfdb

Please sign in to comment.