pull/114/head
Akhil Gupta 4 years ago
commit e26788df2e

@ -0,0 +1,34 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
*Before creating a bug report please make sure you are using the latest docker image / code base.*
**Please complete the following information**
- Installation Type: [Docker/Native]
- Have you tried using the latest docker image / code base [yes/no]
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.

@ -117,8 +117,9 @@
}
function getWebsocketConnection(onOpen,onMessage){
const wsProto = window.location.protocol.startsWith('https') ? 'wss://' : 'ws://';
// Create WebSocket connection.
const socket = new WebSocket('ws://'+window.location.host+'/ws');
const socket = new WebSocket(wsProto+window.location.host+'/ws');
socket.addEventListener('open', onOpen);

Loading…
Cancel
Save