fix ws endpoint

This commit is contained in:
Dot-Rar 2020-05-04 22:43:21 +01:00
parent 99b5b3f234
commit 8ed1bec46a

View File

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