mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 18:20:00 -03:30
add auth_token verification to websocket
This commit is contained in:
@@ -2,6 +2,7 @@ from channels.routing import route
|
||||
|
||||
|
||||
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/$'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user