feat: 物联网相关代码
This commit is contained in:
6
backend/device/routing.py
Normal file
6
backend/device/routing.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import path
|
||||
from device.websocket import DeviceStatusWebSocket
|
||||
|
||||
websocket_urlpatterns = [
|
||||
path('ws/gateway_status/<str:token>/', DeviceStatusWebSocket.as_asgi()),
|
||||
]
|
||||
Reference in New Issue
Block a user