From 534f9cc1a3b3a4974091b061a0a1c404e10a336c Mon Sep 17 00:00:00 2001 From: Robert deLaguna Date: Wed, 6 Dec 2023 11:42:44 -0800 Subject: [PATCH] change websocket endpoint to deployed site --- src/components/utils/websocket.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/utils/websocket.js b/src/components/utils/websocket.js index 51f7225..ea85cf6 100644 --- a/src/components/utils/websocket.js +++ b/src/components/utils/websocket.js @@ -1,5 +1,6 @@ function createSocket() { - const socket = new WebSocket('ws://localhost:5000/cable'); + // const socket = new WebSocket('ws://localhost:5000/cable'); + const socket = new WebSocket('http://analog-be-18680af1ea7c.herokuapp.com/cable'); socket.onopen = function(event) { console.log('WebSocket Client Connected'); // var id = Math.random().toString(10)