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 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<script type="module" src="/src/main.tsx"></script>
|
<script type="module" src="/src/main.tsx"></script>
|
||||||
<script>
|
<script>
|
||||||
(function(d,t) {
|
(function(d,t) {
|
||||||
var BASE_URL="https//chat.hoaledgeriq.com";
|
var BASE_URL="https://chat.hoaledgeriq.com";
|
||||||
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||||
g.src=BASE_URL+"/packs/js/sdk.js";
|
g.src=BASE_URL+"/packs/js/sdk.js";
|
||||||
g.async=true;
|
g.async=true;
|
||||||
|
|||||||
Reference in New Issue
Block a user