diff --git a/config/asgi.py b/config/asgi.py index c9828d1..1bb9ef2 100644 --- a/config/asgi.py +++ b/config/asgi.py @@ -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) + ) + ) }) diff --git a/config/urls.py b/config/urls.py index 1234221..21cbedf 100644 --- a/config/urls.py +++ b/config/urls.py @@ -9,6 +9,6 @@ urlpatterns = [ path('admin/', admin.site.urls), path('api/', include('config.api')), re_path(r'^(?!static/|media/)(?P.*)$', 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), ] \ No newline at end of file