kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fix setting ASGI http protocol handler
rodzic
0e6711e2f0
commit
95e803ded5
|
@ -2,6 +2,7 @@ from channels.auth import AuthMiddlewareStack
|
|||
from channels.routing import ProtocolTypeRouter, URLRouter
|
||||
|
||||
from django.conf.urls import url
|
||||
from django.core.asgi import get_asgi_application
|
||||
from funkwhale_api.instance import consumers
|
||||
|
||||
application = ProtocolTypeRouter(
|
||||
|
@ -11,6 +12,7 @@ application = ProtocolTypeRouter(
|
|||
URLRouter(
|
||||
[url("^api/v1/activity$", consumers.InstanceActivityConsumer.as_asgi())]
|
||||
)
|
||||
)
|
||||
),
|
||||
"http": get_asgi_application(),
|
||||
}
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue