diff --git a/backend/config/__pycache__/urls.cpython-311.pyc b/backend/config/__pycache__/urls.cpython-311.pyc index 6f9290e..20b44c1 100644 Binary files a/backend/config/__pycache__/urls.cpython-311.pyc and b/backend/config/__pycache__/urls.cpython-311.pyc differ diff --git a/backend/config/urls.py b/backend/config/urls.py index 2a3999e..5092ca6 100644 --- a/backend/config/urls.py +++ b/backend/config/urls.py @@ -24,6 +24,6 @@ urlpatterns = [ path("admin/", admin.site.urls), # Serve assets and static files explicitly before the catch-all re_path(r'^assets/(?P.*)$', serve, {'document_root': settings.BASE_DIR.parent / "frontend" / "dist" / "assets"}), - path(settings.STATIC_URL.lstrip('/'), serve, {'document_root': settings.STATIC_ROOT}), + re_path(r'^static/(?P.*)$', serve, {'document_root': settings.STATIC_ROOT}), path("", include("core.urls")), ]