Browse Source

auto commit

master
jfinn 2 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
 from . import consumers
4
 from . import consumers
5
 
5
 
6
 websocket_urlpatterns = [
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