This commit is contained in:
aqu415
2022-02-14 21:46:12 +08:00
parent a30894d2aa
commit 4074afd250
4 changed files with 42 additions and 8 deletions
+7
View File
@@ -54,6 +54,13 @@ MIDDLEWARE = [
# 指定websocket主路由的位置
ASGI_APPLICATION = 'jsmindmulti.asgi.application'
# 指定websocket CHANNEL_LAYERS
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels.layers.InMemoryChannelLayer"
}
}
ROOT_URLCONF = 'jsmindmulti.urls'
TEMPLATES = [