From af567f19997a7b4d95f8560f88aac64a5f904776 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Fri, 27 Sep 2024 18:52:06 +0000 Subject: [PATCH] refactor: Add comment to `urls.py` --- uvdat/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uvdat/urls.py b/uvdat/urls.py index eb37e2ae..b97b53a2 100644 --- a/uvdat/urls.py +++ b/uvdat/urls.py @@ -52,6 +52,7 @@ path('api/v1/', include(router.urls)), path('api/docs/redoc/', schema_view.with_ui('redoc'), name='docs-redoc'), path('api/docs/swagger/', schema_view.with_ui('swagger'), name='docs-swagger'), + # Redirect all other server requests to Vue client path('', RedirectView.as_view(url=settings.HOMEPAGE_REDIRECT_URL)), # type: ignore ]