mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 21:29:12 +00:00
Add Chatwoot to documentation
See repo: https://github.com/chatwoot/chatwoot
This commit is contained in:
14
documentation/src/components/ChatwootWidget.js
Normal file
14
documentation/src/components/ChatwootWidget.js
Normal file
@@ -0,0 +1,14 @@
|
||||
(function (d, t) {
|
||||
var BASE_URL = "https://app.chatwoot.com";
|
||||
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
|
||||
g.src = BASE_URL + "/packs/js/sdk.js";
|
||||
g.defer = true;
|
||||
g.async = true;
|
||||
s.parentNode.insertBefore(g, s);
|
||||
g.onload = function () {
|
||||
window.chatwootSDK.run({
|
||||
websiteToken: 'cFxvnLSjfE2UF4UUiPCA5NsF',
|
||||
baseUrl: BASE_URL
|
||||
})
|
||||
}
|
||||
})(document, 'script');
|
||||
Reference in New Issue
Block a user