chore: Allow Self Hosted Instances to use Support Inbox within Dashboard for Agents (#3907)
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<script>
|
<script>
|
||||||
window.chatwootSettings = { hideMessageBubble: true, position: 'left' };
|
window.chatwootSettings = { hideMessageBubble: true, position: 'left' };
|
||||||
(function(d,t) {
|
(function(d,t) {
|
||||||
var BASE_URL="https://app.chatwoot.com";
|
var BASE_URL='<%= ENV.fetch('FRONTEND_URL', 'https://app.chatwoot.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.defer=true; g.async=true;
|
g.src=BASE_URL+"/packs/js/sdk.js"; g.defer=true; g.async=true;
|
||||||
s.parentNode.insertBefore(g,s);
|
s.parentNode.insertBefore(g,s);
|
||||||
|
|||||||
Reference in New Issue
Block a user