Fixed indents
This commit is contained in:
parent
130a549e24
commit
af104f51f3
2 changed files with 8 additions and 8 deletions
|
|
@ -12,10 +12,10 @@ django_asgi_app = get_asgi_application()
|
|||
from apps.onboarding.routing import websocket_urlpatterns
|
||||
|
||||
application = ProtocolTypeRouter({
|
||||
"http": django_asgi_app,
|
||||
"websocket": AllowedHostsOriginValidator(
|
||||
AuthMiddlewareStack(
|
||||
URLRouter(websocket_urlpatterns)
|
||||
)
|
||||
)
|
||||
"http": django_asgi_app,
|
||||
"websocket": AllowedHostsOriginValidator(
|
||||
AuthMiddlewareStack(
|
||||
URLRouter(websocket_urlpatterns)
|
||||
)
|
||||
)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ urlpatterns = [
|
|||
path('admin/', admin.site.urls),
|
||||
path('api/', include('config.api')),
|
||||
re_path(r'^(?!static/|media/)(?P<path>.*)$', serve_frontend, {'document_root': settings.FRONT_DIR}),
|
||||
*static(settings.STATIC_URL, document_root=settings.STATIC_ROOT),
|
||||
*static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT),
|
||||
*static(settings.STATIC_URL, document_root=settings.STATIC_ROOT),
|
||||
*static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT),
|
||||
]
|
||||
Loading…
Reference in a new issue