webhook_logger/webhook_logger/routing.py

5 lines
194 B
Python
Raw Permalink Normal View History

2018-11-26 02:05:03 +01:00
from channels.routing import ProtocolTypeRouter, URLRouter
from callbacks.routing import websocket_urlpatterns
2019-01-13 18:41:34 +01:00
application = ProtocolTypeRouter({"websocket": URLRouter(websocket_urlpatterns)})