Skip to content

Commit d82df5e

Browse files
Add relative base path
1 parent f9e9210 commit d82df5e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/urls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
urlpatterns = [
1111
path("", redirect_to_v3, name="index"),
1212
path("v3/", v3, name="v3"),
13+
re_path(r"^(?:.*)/?$", v3),
1314
path("worker-dashboard/", worker_dashboard, name="worker_dashboard"),
1415
path("login/", login, name="login"),
1516
path("logout/", logout, name="logout"),

ui/templates/ui/v3.html

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

0 commit comments

Comments
 (0)