Skip to content

Commit

Permalink
Quick: fix websockets via ASGI_APPLICATION setting after #909 (#913)
Browse files Browse the repository at this point in the history
* fix ASGI_APPLICATION setting after #909

* update unit test setting
  • Loading branch information
rstijerina authored and chandra-tacc committed Dec 8, 2023
1 parent 5499eaf commit 4944c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/portal/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@


# Channels
ASGI_APPLICATION = 'portal.routing.application'
ASGI_APPLICATION = 'portal.asgi.application'
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
Expand Down
2 changes: 1 addition & 1 deletion server/portal/settings/unit_test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4944c2b

Please sign in to comment.