django-vue-admin/backend/application/routing.py

9 lines
242 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2022-11-15 09:36:05 +00:00
from django.urls import path
from application.websocketConfig import MegCenter
websocket_urlpatterns = [
path('ws/<str:service_uid>/', MegCenter.as_asgi()), #consumers.DvadminWebSocket 是该路由的消费者
]