Skip to content

Commit

Permalink
Revert "Remove trailing $ from websocket_urlpatterns to work with cus…
Browse files Browse the repository at this point in the history
…tom path to fix #12241"

This reverts commit 5e28f5d.
  • Loading branch information
TheRealHaoLiu committed Mar 3, 2023
1 parent 1411d11 commit 2ca0b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awx/main/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def __init__(self, *args, **kwargs):


websocket_urlpatterns = [
re_path(r'websocket/', consumers.EventConsumer.as_asgi()),
re_path(r'websocket/broadcast/', consumers.BroadcastConsumer.as_asgi()),
re_path(r'websocket/$', consumers.EventConsumer.as_asgi()),
re_path(r'websocket/broadcast/$', consumers.BroadcastConsumer.as_asgi()),
]

application = AWXProtocolTypeRouter(
Expand Down

0 comments on commit 2ca0b7b

Please sign in to comment.