forked from DGNum/gestioCOF
Ajout /ws/ for websocket path
This commit is contained in:
parent
9aa0e8b89d
commit
7bfd2e2f9a
7 changed files with 2 additions and 5471 deletions
|
@ -8,7 +8,7 @@ from channels.routing import route, route_class
|
|||
from kfet import consumers
|
||||
|
||||
channel_routing = [
|
||||
route_class(consumers.KPsul, path=r"^/k-fet/k-psul/$"),
|
||||
route_class(consumers.KPsul, path=r"^/ws/k-fet/k-psul/$"),
|
||||
#route("websocket.connect", ws_kpsul_history_connect),
|
||||
#route('websocket.receive', ws_message)
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue