mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-22 05:09:01 +00:00
13 lines
380 B
Python
13 lines
380 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
|
|
)
|
|
),
|
|
}) |