Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

Commit 461ed23

Browse files
committed
🤖 [AUTO] 1.2.17 2023-09-15 10:35:50
1 parent 862c5fd commit 461ed23

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

core/library/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ def asgi_with_channels_interface() -> ProtocolTypeRouter:
8181
environ.setdefault('DJANGO_SETTINGS_MODULE', 'web.settings')
8282
django.setup(set_prefix=False)
8383
from api.urls import SOCKETS
84-
from web.settings import DEBUG
8584
return ProtocolTypeRouter({
86-
'http': __asgi_application__() if DEBUG else ASGIStaticFilesHandler(__asgi_application__()),
85+
'http': __asgi_application__(),
8786
'websocket': AllowedHostsOriginValidator(AuthMiddlewareStack(URLRouter(SOCKETS))),
8887
})
8988

0 commit comments

Comments
 (0)