From 459faa56935e7a7ee208124ab02e910ae4dd6519 Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Thu, 4 Jan 2024 23:50:29 +0545 Subject: [PATCH] only catch url after all other api --- core/urls.py | 2 +- ui/templates/ui/v3.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/urls.py b/core/urls.py index ecbc6e608..e642a0c1b 100644 --- a/core/urls.py +++ b/core/urls.py @@ -10,7 +10,6 @@ urlpatterns = [ path("", redirect_to_v3, name="index"), path("v3/", v3, name="v3"), - re_path(r"^(?:.*)/?$", v3), path("worker-dashboard/", worker_dashboard, name="worker_dashboard"), path("login/", login, name="login"), path("logout/", logout, name="logout"), @@ -42,6 +41,7 @@ name="javascript-catalog", ), path("i18n/", include("django.conf.urls.i18n")), + re_path(r".*", v3), ] if settings.DEBUG: diff --git a/ui/templates/ui/v3.html b/ui/templates/ui/v3.html index 681d790a9..7f9fcfd17 100644 --- a/ui/templates/ui/v3.html +++ b/ui/templates/ui/v3.html @@ -2,7 +2,7 @@ - +