chore: Upgrade highlight.js to 10.4.1 (#1483)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.5 to 10.4.1. - [Release notes](https://github.com/highlightjs/highlight.js/releases) - [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md) - [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.5...10.4.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -44,11 +44,12 @@ class Channel::WebWidget < ApplicationRecord
|
||||
end
|
||||
|
||||
def web_widget_script
|
||||
"<script>
|
||||
"
|
||||
<script>
|
||||
(function(d,t) {
|
||||
var BASE_URL = \"#{ENV.fetch('FRONTEND_URL', '')}\";
|
||||
var BASE_URL=\"#{ENV.fetch('FRONTEND_URL', '')}\";
|
||||
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\";
|
||||
s.parentNode.insertBefore(g,s);
|
||||
g.onload=function(){
|
||||
window.chatwootSDK.run({
|
||||
@@ -57,7 +58,8 @@ class Channel::WebWidget < ApplicationRecord
|
||||
})
|
||||
}
|
||||
})(document,\"script\");
|
||||
</script>"
|
||||
</script>
|
||||
"
|
||||
end
|
||||
|
||||
def create_contact_inbox
|
||||
|
||||
Reference in New Issue
Block a user