Skip to content

Commit

Permalink
Merge pull request #218 from logzio/intercom2
Browse files Browse the repository at this point in the history
intecrcom scripts in static directory
  • Loading branch information
Doron-Bargo authored Oct 4, 2023
2 parents 9d9c7d6 + ab6628e commit 906fb8b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ const config = {
}),
],
],

scripts: [
{
src: '/js/intercomSettings.js'
},
{
src: '/js/intercomWidget.js'
}
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down
4 changes: 4 additions & 0 deletions static/js/intercomSettings.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
window.intercomSettings = {
app_id: "bkz9ugqv",
custom_launcher_selector: '.intercom-launch'
};
1 change: 1 addition & 0 deletions static/js/intercomWidget.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 906fb8b

Please sign in to comment.