From 0be01da629d8ec59912c034ec50dac9b29df4e2f Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sun, 15 Nov 2020 11:16:04 +0100 Subject: [PATCH] Fix bug --- apps/front/templates/chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');