]> git.parisson.com Git - teleforma.git/commitdiff
add notification routing into asgi from routing
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 23 Jun 2022 15:25:23 +0000 (17:25 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 23 Jun 2022 15:25:35 +0000 (17:25 +0200)
app/asgi.py
bin

index fd5bbdc9a9f689c270ad824e974019e6faa329c1..d2fc08e42dc0e6633ed7c3895765f3a5935ffaeb 100644 (file)
@@ -12,6 +12,7 @@ from teleforma.ws import chat
 
 websocket_urlpatterns = [
     re_path(r'ws/chat/(?P<room_name>\w+)/$', chat.ChatConsumer.as_asgi()),
+    re_path(r'ws/notification/(?P<user_id>\w+)/$', notification.NotificationConsumer.as_asgi()),
 ]
 
 
@@ -23,8 +24,3 @@ application = ProtocolTypeRouter({
         )
     ),
 })
-
-
-
-
-
diff --git a/bin b/bin
index 877deb91a9d035c74bf726fed8851d38e93014ce..52d01bc8d0ec34d96ae3751fa5709a8ae05066fd 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit 877deb91a9d035c74bf726fed8851d38e93014ce
+Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd