mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Add .as_asgi to the websockets as required by the new library
This commit is contained in:
parent
68614b83c0
commit
2b3f3e2043
@ -27,8 +27,8 @@ class AWXProtocolTypeRouter(ProtocolTypeRouter):
|
||||
|
||||
|
||||
websocket_urlpatterns = [
|
||||
re_path(r'websocket/$', consumers.EventConsumer),
|
||||
re_path(r'websocket/broadcast/$', consumers.BroadcastConsumer),
|
||||
re_path(r'websocket/$', consumers.EventConsumer.as_asgi()),
|
||||
re_path(r'websocket/broadcast/$', consumers.BroadcastConsumer.as_asgi()),
|
||||
]
|
||||
|
||||
application = AWXProtocolTypeRouter(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user