when I change the URL link
path("admin/", admin.site.urls),
to
path("", admin.site.urls),
it works fine
but raises API Not Found Error when I have the following urlpatterns.
I need path("api/", include("config.api_router")),
Note: when I use path("admin/", admin.site.urls),
API works