docker: add container websocket in docker-compose

This commit is contained in:
2025-04-27 14:14:32 -03:00
parent d5d136fc5d
commit e33f9e2974
7 changed files with 33 additions and 17 deletions

View File

@@ -19,11 +19,6 @@ document.addEventListener('DOMContentLoaded', function() {
function verificarCookieNotificacao() {
var iconNotify = document.getElementById('icon-notify');
if (document.cookie.indexOf('notificacao=') === -1) {
@@ -56,7 +51,7 @@ function cookieNotificacao() {
}
}
const websocket = new WebSocket('ws://192.168.1.150:8765');
const websocket = new WebSocket('ws://0.0.0.0:8765');
const nomeUsuario = document.getElementById('user-info').textContent;
websocket.addEventListener('open', (event) => {