optionally use settings from admin app

This commit is contained in:
Sharon Kennedy
2020-10-20 19:29:12 -04:00
parent de4106c093
commit 9432e4d86f
6 changed files with 44 additions and 65 deletions

38
dist/bookmarklet.js vendored

File diff suppressed because one or more lines are too long

38
dist/chatbox.js vendored

File diff suppressed because one or more lines are too long

8
dist/component.js vendored

File diff suppressed because one or more lines are too long

5
dist/index.html vendored
View File

@@ -13,10 +13,7 @@
<script src="./chatbox.js"></script>
<script>
var config = {
matrixServerUrl: 'https://matrix.safesupport.chat',
airtableApiKey: 'keyFfDHgHILw5IIwA',
airtableBaseId: 'app7IycwU6dY6o1oj',
settingsTableName: 'settings',
settingsEndpoint: 'https://safesupport-admin.herokuapp.com/api/get-settings'
}
EmbeddableChatbox.mount(config);