diff --git a/apps/front/templates/chat.html b/apps/front/templates/chat.html index a8815b4..e1a297a 100644 --- a/apps/front/templates/chat.html +++ b/apps/front/templates/chat.html @@ -44,7 +44,7 @@ * VARIABLES */ const SALA_CHAT = 'python'; - const CHAT_SOCKET = new WebSocket('ws://localhost:8000/ws/chat/' + SALA_CHAT); + const CHAT_SOCKET = new WebSocket('ws://localhost:8000/ws/chat/' + SALA_CHAT + '/'); const CAMPO_NOMBRE = document.querySelector('#nombre'); const MENSAJES = document.querySelector('#mensajes'); const CAMPO_TEXTO = document.querySelector('#texto');