Skip to content

Commit 459faa5

Browse files
only catch url after all other api
1 parent d82df5e commit 459faa5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
urlpatterns = [
1111
path("", redirect_to_v3, name="index"),
1212
path("v3/", v3, name="v3"),
13-
re_path(r"^(?:.*)/?$", v3),
1413
path("worker-dashboard/", worker_dashboard, name="worker_dashboard"),
1514
path("login/", login, name="login"),
1615
path("logout/", logout, name="logout"),
@@ -42,6 +41,7 @@
4241
name="javascript-catalog",
4342
),
4443
path("i18n/", include("django.conf.urls.i18n")),
44+
re_path(r".*", v3),
4545
]
4646

4747
if settings.DEBUG:

ui/templates/ui/v3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!doctype html>
33
<html lang="en">
44
<head>
5-
<base href="/v3/" />
5+
<!-- <base href="/v3/" /> -->
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta http-equiv="X-UA-Compatible" content="IE=edge">

0 commit comments

Comments
 (0)