Revert "Remove trailing $ from websocket_urlpatterns to work with custom path to fix #12241"

This reverts commit 5e28f5dca1.
This commit is contained in:
Hao Liu
2023-03-02 21:14:53 -05:00
parent 1411d11a0e
commit 2ca0b7bc01

View File

@@ -27,8 +27,8 @@ class AWXProtocolTypeRouter(ProtocolTypeRouter):
websocket_urlpatterns = [ websocket_urlpatterns = [
re_path(r'websocket/', consumers.EventConsumer.as_asgi()), re_path(r'websocket/$', consumers.EventConsumer.as_asgi()),
re_path(r'websocket/broadcast/', consumers.BroadcastConsumer.as_asgi()), re_path(r'websocket/broadcast/$', consumers.BroadcastConsumer.as_asgi()),
] ]
application = AWXProtocolTypeRouter( application = AWXProtocolTypeRouter(