Explorar el Código

auto commit

master
jfinn hace 2 años
padre
commit
719f5156a2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      wsps/routing.py

+ 2
- 1
wsps/routing.py Ver fichero

@@ -4,5 +4,6 @@ from django.urls import re_path
4 4
 from . import consumers
5 5
 
6 6
 websocket_urlpatterns = [
7
-	re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer.as_asgi()),
7
+	# re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer.as_asgi()),
8
+	re_path(r'ws/chat/(?P<room_name>\w+)/?$', consumers.ChatConsumer.as_asgi()),
8 9
 ]

Loading…
Cancelar
Guardar