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 = []