diff --git a/vulnerablecode/urls.py b/vulnerablecode/urls.py index a4da0a7c0..10f7db13f 100644 --- a/vulnerablecode/urls.py +++ b/vulnerablecode/urls.py @@ -50,6 +50,7 @@ def __init__(self, *args, **kwargs): api_v2_router.register("vulnerabilities", VulnerabilityV2ViewSet, basename="vulnerability-v2") urlpatterns = [ + path("api/v2/", include(api_v2_router.urls)), path( "robots.txt", TemplateView.as_view(template_name="robots.txt", content_type="text/plain"), @@ -104,7 +105,6 @@ def __init__(self, *args, **kwargs): TemplateView.as_view(template_name="tos.html"), name="api_tos", ), - path("api/v2/", include(api_v2_router.urls)), path( "admin/", admin.site.urls,