mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 11:26:24 +00:00
13 lines
379 B
Python
13 lines
379 B
Python
from channels.auth import AuthMiddlewareStack
|
|
from channels.routing import ProtocolTypeRouter, URLRouter
|
|
import chat.routing
|
|
|
|
application = ProtocolTypeRouter({
|
|
"websocket":
|
|
AuthMiddlewareStack(
|
|
URLRouter(
|
|
chat.routing.websocket_urlpatterns,
|
|
# TODO add api.routing.websocket_urlpatterns when Order page works with websocket
|
|
)),
|
|
})
|