Fix [frontend]: websocket URL

This commit is contained in:
DarkCat09 2024-05-09 20:36:45 +04:00
parent 03458db829
commit 2d0e424b5b
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -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') const itemsDiv = document.getElementById('items-container')
let items = [] let items = []