Commit 57834eac authored by Joel's avatar Joel

Merge branch 'feat/embedding' into deploy/dev

parents 6bc6b080 e9bdcd2f
......@@ -28,7 +28,7 @@ const OPTION_MAP = {
scripts: {
getContent: (url: string, token: string) =>
`<script>
window.difyChatbotConfig = { token: ${token}${isDevelopment ? ', isDev: true' : ''} }
window.difyChatbotConfig = { token: '${token}'${isDevelopment ? ', isDev: true' : ''} }
</script>
<script
src="${url}/embed.min.js"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment