Re-enable websockets for panel ticket list

This commit is contained in:
Ben Hall 2020-08-16 19:03:40 +01:00 committed by GitHub
parent 38ff3a7da5
commit 1af9e22e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,8 +115,8 @@
container.scrollTop = container.scrollHeight;
async function startWebsocket(ticketId) {
//const ws = new WebSocket("wss://panel.ticketsbot.net/webchat");
const ws = new WebSocket("ws://localhost:3000/webchat");
const ws = new WebSocket("wss://panel.ticketsbot.net/webchat");
//const ws = new WebSocket("ws://localhost:3000/webchat");
ws.onopen = () => {
ws.send(JSON.stringify({