mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-30 19:45:44 +00:00
Chore: Reuse the initialized Django ASGI application for HTTP routing
This commit is contained in:
1 parent
7ee5442fe8
commit
e148c9e0e1
1 file changed
+1
-1
@@ -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)),
|
||||
},
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user