From 508a86d16c1cd93c7373fb0dc2d51c2af9adb02c Mon Sep 17 00:00:00 2001 From: olsch01 Date: Tue, 10 Mar 2026 14:32:35 -0400 Subject: [PATCH] fix: resolve Vite parse5 HTML error in index.html Fix malformed Chatwoot chat widget script that caused Vite's parse5 HTML parser to throw "eof-in-element-that-can-contain-only-text". Also fix broken URL (https// -> https://) for the chat widget. Co-Authored-By: Claude Opus 4.6 --- frontend/index.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 01a5275..b344cc0 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -10,19 +10,19 @@
+ (function(d,t) { + var BASE_URL="https://chat.hoaledgeriq.com"; + var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; + g.src=BASE_URL+"/packs/js/sdk.js"; + g.async=true; + s.parentNode.insertBefore(g,s); + g.onload=function(){ + window.chatwootSDK.run({ + websiteToken:'K6VXvTtKXvaCMvre4yK85SPb', + baseUrl:BASE_URL + }) + } + })(document,"script"); +