From e148c9e0e12d20297cd2bb2828382d4a4da61a56 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 30 Oct 2026 08:56:59 -0700 Subject: [PATCH] Chore: Reuse the initialized Django ASGI application for HTTP routing --- src/paperless/asgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless/asgi.py b/src/paperless/asgi.py index 3d74a1edb..611b8a4a5 100644 --- a/src/paperless/asgi.py +++ b/src/paperless/asgi.py @@ -17,7 +17,7 @@ from paperless.urls import websocket_urlpatterns # noqa: E402 application = ProtocolTypeRouter( { - "http": get_asgi_application(), + "http": django_asgi_app, "websocket": AuthMiddlewareStack(URLRouter(websocket_urlpatterns)), }, )