link address error in the embedding in websites first example #13291

Closed
opened 2026-02-21 19:11:29 -05:00 by yindo · 1 comment
Owner

Originally created by @junjiem on GitHub (Apr 24, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3.0

Cloud or Self Hosted

Cloud, Self Hosted (Docker), Self Hosted (Source)

Steps to reproduce

Image

Image

"chat" should be changed to "chatbot".

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @junjiem on GitHub (Apr 24, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.3.0 ### Cloud or Self Hosted Cloud, Self Hosted (Docker), Self Hosted (Source) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/1d7d173b-9df3-488d-85c6-8213d30517b8) ![Image](https://github.com/user-attachments/assets/3a7a263a-a13f-4ea7-887c-e774a7613577) "chat" should be changed to "chatbot". ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:11:29 -05:00
yindo closed this issue 2026-02-21 19:11:29 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 24, 2025):

To resolve the link address error in the embedding example for websites using Dify version 1.3.0, ensure that you use HTTPS instead of HTTP in the iframe source URL. Additionally, make sure that the JavaScript script for embedding the chatbot is placed after the <body> element in your HTML file, as the script will not work otherwise. Change the embedding code from:

src="http://domain/chatbot/id"

To:

src="https://domain/chatbot/id"

Also, ensure that the difyChatbotConfig is properly defined in your HTML file before including the script, and contains the necessary token from the chatbot settings page [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 24, 2025): <!-- Answer --> To resolve the link address error in the embedding example for websites using Dify version 1.3.0, ensure that you use HTTPS instead of HTTP in the iframe source URL. Additionally, make sure that the JavaScript script for embedding the chatbot is placed after the `<body>` element in your HTML file, as the script will not work otherwise. Change the embedding code from: ```html src="http://domain/chatbot/id" ``` To: ```html src="https://domain/chatbot/id" ``` Also, ensure that the `difyChatbotConfig` is properly defined in your HTML file before including the script, and contains the necessary token from the chatbot settings page <sup>[[1]](https://github.com/langgenius/dify/issues/13501)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/5af10221-07f1-43b9-a618-ddeb5ce543d5?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13291