From 2d0e424b5be28bda6fff29a425a28dfa4b059df6 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 9 May 2024 20:36:45 +0400 Subject: [PATCH] Fix [frontend]: websocket URL --- frontend/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/script.js b/frontend/script.js index 0499790..2aeb5c5 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -16,7 +16,7 @@ addEventListener('DOMContentLoaded', () => { } }) - const socket = new WebSocket('ws://127.0.0.1:4009') + const socket = new WebSocket('/ws') const itemsDiv = document.getElementById('items-container') let items = []