aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backend/admin/handler.go2
-rw-r--r--backend/admin/templates/dashboard.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/admin/handler.go b/backend/admin/handler.go
index eaea208..81ea2b7 100644
--- a/backend/admin/handler.go
+++ b/backend/admin/handler.go
@@ -464,5 +464,5 @@ func (h *Handler) postFix(c echo.Context) error {
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())
}
}
- return c.Redirect(http.StatusSeeOther, basePath+"/admin")
+ return c.Redirect(http.StatusSeeOther, basePath+"/admin/dashboard")
}
diff --git a/backend/admin/templates/dashboard.html b/backend/admin/templates/dashboard.html
index 17a0d6a..92133b6 100644
--- a/backend/admin/templates/dashboard.html
+++ b/backend/admin/templates/dashboard.html
@@ -10,7 +10,7 @@
<p>
<a href="{{ .BasePath }}/admin/online-qualifying-ranking?game_1=7&game_2=8">Online Qualifying Ranking</a>
</p>
-<form method="post" action="{{ .BasePath }}/fix">
+<form method="post" action="{{ .BasePath }}/admin/fix">
<button type="submit">fix</button>
</form>
<form method="post" action="{{ .BasePath }}/logout">