Skip to content

Commit

Permalink
Add relative base path
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 4, 2024
1 parent f9e9210 commit d82df5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
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
1 change: 1 addition & 0 deletions ui/templates/ui/v3.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<!doctype html>
<html lang="en">
<head>
<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 d82df5e

Please sign in to comment.