From 34f7edfb70eb658c600a1c4beebeaccc5fe32bdb Mon Sep 17 00:00:00 2001 From: Sal Tijerina Date: Fri, 1 Dec 2023 14:19:18 -0600 Subject: [PATCH] Quick: fix websockets via ASGI_APPLICATION setting after #909 (#913) * fix ASGI_APPLICATION setting after #909 * update unit test setting --- server/portal/settings/settings.py | 2 +- server/portal/settings/unit_test_settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/portal/settings/settings.py b/server/portal/settings/settings.py index 877277618..6c4fe9836 100644 --- a/server/portal/settings/settings.py +++ b/server/portal/settings/settings.py @@ -689,7 +689,7 @@ # Channels -ASGI_APPLICATION = 'portal.routing.application' +ASGI_APPLICATION = 'portal.asgi.application' CHANNEL_LAYERS = { 'default': { 'BACKEND': 'channels_redis.core.RedisChannelLayer', diff --git a/server/portal/settings/unit_test_settings.py b/server/portal/settings/unit_test_settings.py index 9964a9714..f188c6d8a 100644 --- a/server/portal/settings/unit_test_settings.py +++ b/server/portal/settings/unit_test_settings.py @@ -432,7 +432,7 @@ SUPPORTED_BRAINMAP_PREVIEW_EXTS) # Channels -ASGI_APPLICATION = 'portal.routing.application' +ASGI_APPLICATION = 'portal.asgi.application' CHANNEL_LAYERS = { 'default': { 'BACKEND': 'channels.layers.InMemoryChannelLayer',