Skip to content

Commit

Permalink
only catch url after all other api
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 4, 2024
1 parent d82df5e commit 459faa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -42,6 +41,7 @@
name="javascript-catalog",
),
path("i18n/", include("django.conf.urls.i18n")),
re_path(r".*", v3),
]

if settings.DEBUG:
Expand Down
2 changes: 1 addition & 1 deletion ui/templates/ui/v3.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!doctype html>
<html lang="en">
<head>
<base href="/v3/" />
<!-- <base href="/v3/" /> -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down

0 comments on commit 459faa5

Please sign in to comment.