webhook_logger/webhook_logger/routing.py

5 lines
194 B
Python

from channels.routing import ProtocolTypeRouter, URLRouter
from callbacks.routing import websocket_urlpatterns
application = ProtocolTypeRouter({"websocket": URLRouter(websocket_urlpatterns)})