Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
7cfb16a578
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      wsps/routing.py

+ 1
- 1
wsps/routing.py View File

@@ -5,5 +5,5 @@ from . import consumers
5 5
 
6 6
 websocket_urlpatterns = [
7 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
+	re_path(r'ws/chat/(?P<room_name>[\w]+)/?$', consumers.ChatConsumer.as_asgi()),
9 9
 ]

Loading…
Cancel
Save