fix WithAllowNone in asgi for one more

This commit is contained in:
Laura Klünder 2024-03-29 14:46:54 +01:00
parent 980520b590
commit 6ecfa78c5d

View file

@ -71,7 +71,7 @@ with suppress(ImportError):
), ),
Mount(path='/', app=django_asgi), Mount(path='/', app=django_asgi),
]), ]),
"websocket": AllowedHostsOriginValidator( "websocket": AllowedHostsOriginValidatorWithAllowNone(
AuthMiddlewareStack( AuthMiddlewareStack(
UserPermissionsChannelMiddleware( UserPermissionsChannelMiddleware(
URLRouter(websocket_urlpatterns), URLRouter(websocket_urlpatterns),