Skip to content

Commit

Permalink
Merge pull request #2 from Plant-for-the-Planet-org/whitelabel-base-url
Browse files Browse the repository at this point in the history
Update Base URL for Local Support
  • Loading branch information
sagararyal authored Feb 3, 2022
2 parents aa72848 + 674f0e5 commit b4f5f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/vueapp.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<script>
window.chatwootSettings = { hideMessageBubble: true, position: 'left' };
(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];
g.src=BASE_URL+"/packs/js/sdk.js"; g.defer=true; g.async=true;
s.parentNode.insertBefore(g,s);
Expand Down

0 comments on commit b4f5f2c

Please sign in to comment.