Merge pull request #5 from BenHall-1/patch-2
Re-enable websockets for panel ticket list
This commit is contained in:
commit
a5bfe95866
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user