-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedding in an Iframe is not possible #55
Comments
I was able to fix it on my own. The problem was: /app/compontents/index.tsx: The "oncompleted" function fails while fetching the conversations.id . Therefore the bot never reaches the state, where the "setResponsingFalse()" is set.
|
After you embed the chatbot in another website, can other people still access your web app UI? |
Before I fixed it -> No After my fix -> Yes Please make sure to have SSL activated (For example by using a reverse Proxy), otherwise many brothers will block the iFrame |
fixes langgenius#55 Signed-off-by: 孙世军 <[email protected]>
The standard dify-web docker container allows to embed the Chatbot in an Iframe on a website.
As I needed to customize the frontend, I followed the instructions and deployed the webapp-conversations frontend on vercel.
It runs perfectly when I open the Vercel URL directly. As soon as I embed it into an Iframe, I always get the error, that the chatbot is still responding, when I try to send a second message.
Already tested:
The text was updated successfully, but these errors were encountered: