Browse Source

auto commit

master
jfinn 3 years ago
parent
commit
719f5156a2
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      wsps/routing.py

+ 2
- 1
wsps/routing.py View File

@@ -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…
Cancel
Save