Commit e9bdcd2f authored by Joel's avatar Joel

fix: token missing quote

parent 2e2f6de4
......@@ -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