fix: Correct widget code URL (#6033)

src attribute has extra double quotes
This commit is contained in:
Awais Athar 2025-01-30 21:09:50 +00:00 committed by GitHub
commit 2043b2f4f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ export default function getWidgetCode({
flowName,
isAuth,
}: GetCodeType): string {
return `<script src="https://cdn.jsdelivr.net/gh/logspace-ai/langflow-embedded-chat@v1.0.7/dist/build/static/js/bundle.min.js""></script>
return `<script src="https://cdn.jsdelivr.net/gh/logspace-ai/langflow-embedded-chat@v1.0.7/dist/build/static/js/bundle.min.js"></script>
<langflow-chat
window_title="${flowName}"