From cdc7f2fedc57dac2794e535b37b4c2ff2efc0588 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Fri, 19 Apr 2024 00:18:32 +0200 Subject: [PATCH] Revert changes to schema urlpatterns --- backend/ciso_assistant/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/ciso_assistant/urls.py b/backend/ciso_assistant/urls.py index dd80af4b5..50e6ce73b 100644 --- a/backend/ciso_assistant/urls.py +++ b/backend/ciso_assistant/urls.py @@ -22,14 +22,14 @@ # beware of the order of url patterns, this can change de behavior in case of multiple matches and avoid giving identical paths that could cause conflicts urlpatterns = [ - path("", SpectacularAPIView.as_view(), name="schema"), + path("api/schema/", SpectacularAPIView.as_view(), name="schema"), path( - "schema/swagger/", + "api/schema/swagger/", SpectacularSwaggerView.as_view(url_name="schema"), name="swagger", ), path( - "schema/redoc/", + "api/schema/redoc/", SpectacularRedocView.as_view(url_name="schema"), name="redoc", ),