From af104f51f3ff93c14e94eee8a24fb33bbd645715 Mon Sep 17 00:00:00 2001 From: Viswamedha Nalabotu Date: Sun, 8 Mar 2026 11:23:39 +0000 Subject: [PATCH] Fixed indents --- config/asgi.py | 12 ++++++------ config/urls.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) 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