Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🩹(backend) use path for redoc url matching

Rahulchourasiya88b722e7415f
diff --git a/src/backend/meet/urls.py b/src/backend/meet/urls.py
index 3fb00dde..5f8b71a4 100644
--- a/src/backend/meet/urls.py
+++ b/src/backend/meet/urls.py
@@ -4,7 +4,7 @@ from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
-from django.urls import include, path, re_path
+from django.urls import include, path
from drf_spectacular.views import (
SpectacularJSONAPIView,
@@ -41,7 +41,7 @@ if settings.USE_SWAGGER or settings.DEBUG:
SpectacularSwaggerView.as_view(url_name="client-api-schema"),
name="swagger-ui-schema",
),
- re_path(
+ path(
f"{settings.API_VERSION}/redoc/",
SpectacularRedocView.as_view(url_name="client-api-schema"),
name="redoc-schema",