This commit is contained in:
rxdn 2020-09-25 19:18:21 +01:00
commit 6b9d68c51c

View File

@ -115,8 +115,8 @@
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"); //const ws = new WebSocket("ws://localhost:3000/webchat");
ws.onopen = () => { ws.onopen = () => {
ws.send(JSON.stringify({ ws.send(JSON.stringify({