diff --git a/backend/core/__pycache__/urls.cpython-311.pyc b/backend/core/__pycache__/urls.cpython-311.pyc index 0408ddc..33673d5 100644 Binary files a/backend/core/__pycache__/urls.cpython-311.pyc and b/backend/core/__pycache__/urls.cpython-311.pyc differ diff --git a/backend/core/urls.py b/backend/core/urls.py index 03d9457..d4c3f80 100644 --- a/backend/core/urls.py +++ b/backend/core/urls.py @@ -8,6 +8,6 @@ router.register(r'api/sellers', SellerViewSet) router.register(r'api/products', ProductViewSet) urlpatterns = [ - path('', include(router.urls)), - re_path(r'^(?!api/|admin/).*$', serve_frontend, name='serve_frontend'), -] \ No newline at end of file + path('api/', include(router.urls)), + re_path(r'^.*$', serve_frontend, name='serve_frontend'), +]