Chore: Reuse the initialized Django ASGI application for HTTP routing

This commit is contained in:
Trenton H committed 2026-10-30 10:22:21 -07:00
1 parent 7ee5442fe8
commit e148c9e0e1
1 file changed
+1 -1
+1 -1
View File
@@ -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)),
},
)