Add Chatwoot widget to main page
Some checks are pending
CI / Test & Build (18.x) (push) Waiting to run
CI / Test & Build (20.x) (push) Waiting to run
CI / Security Audit (push) Waiting to run
Build Production / Build Production Artifacts (push) Waiting to run

Made-with: Cursor
This commit is contained in:
“kirukib” 2026-03-09 19:46:50 +03:00
parent 2f8bd423ca
commit afad85816e

View File

@ -15,5 +15,21 @@
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script>
(function(d, t) {
var BASE_URL = "https://chat.yaltopia.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: "uRqtFfcGpenjUMJwC67HXCaA",
baseUrl: BASE_URL
});
};
})(document, "script");
</script>
</body>
</html>