Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: self host embedding missing base url config (#1116)
Joel7ba068c3e407
diff --git a/web/app/components/app/overview/embedded/index.tsx b/web/app/components/app/overview/embedded/index.tsxindex 09c6838e1fd..2acaad9e010 100644--- a/web/app/components/app/overview/embedded/index.tsx+++ b/web/app/components/app/overview/embedded/index.tsx@@ -7,6 +7,7 @@ import Modal from '@/app/components/base/modal'import copyStyle from '@/app/components/app/chat/copy-btn/style.module.css'import Tooltip from '@/app/components/base/tooltip'import { useAppContext } from '@/context/app-context'+import { IS_CE_EDITION } from '@/config'// const isDevelopment = process.env.NODE_ENV === 'development'@@ -30,7 +31,15 @@ const OPTION_MAP = {scripts: {getContent: (url: string, token: string, isTestEnv?: boolean) =>`<script>- window.difyChatbotConfig = { token: '${token}'${isTestEnv ? ', isDev: true' : ''} }+ window.difyChatbotConfig = {+ token: '${token}'${isTestEnv+ ? `,+ isDev: true`+ : ''}${IS_CE_EDITION+ ? `,+ baseUrl: '${url}'`+ : ''}+ }</script><scriptsrc="${url}/embed.min.js"