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 ]