pass homeserver query param to get chatbox with settings
This commit is contained in:
3
dist/index.html
vendored
3
dist/index.html
vendored
@@ -13,7 +13,8 @@
|
||||
<script src="./chatbox.js"></script>
|
||||
<script>
|
||||
var config = {
|
||||
settingsEndpoint: 'https://safesupport-admin.herokuapp.com/api/get-settings'
|
||||
settingsEndpoint: 'https://safesupport-admin.herokuapp.com/api/get-settings',
|
||||
matrixServerUrl: 'https://matrix.safesupport.chat'
|
||||
}
|
||||
|
||||
EmbeddableChatbox.mount(config);
|
||||
|
||||
Reference in New Issue
Block a user