mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
13 lines
442 B
Python
13 lines
442 B
Python
from channels.routing import route
|
|
from awx.network_ui.routing import channel_routing as network_ui_routing
|
|
|
|
|
|
channel_routing = [
|
|
route("websocket.connect", "awx.main.consumers.ws_connect", path=r'^/websocket/$'),
|
|
route("websocket.disconnect", "awx.main.consumers.ws_disconnect", path=r'^/websocket/$'),
|
|
route("websocket.receive", "awx.main.consumers.ws_receive", path=r'^/websocket/$'),
|
|
]
|
|
|
|
|
|
channel_routing += network_ui_routing
|