diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-08 21:22:50 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-08 21:22:50 +0900 |
| commit | 93f2ffc18d1d86bd2999533e8d904c92cb29bc1a (patch) | |
| tree | e38ec866b6972966d31dde84f07a1141d854c704 | |
| parent | a100dc8ba76aaeda2229940c1743c33cc0ef84b5 (diff) | |
| download | iosdc-japan-2024-albatross-93f2ffc18d1d86bd2999533e8d904c92cb29bc1a.tar.gz iosdc-japan-2024-albatross-93f2ffc18d1d86bd2999533e8d904c92cb29bc1a.tar.zst iosdc-japan-2024-albatross-93f2ffc18d1d86bd2999533e8d904c92cb29bc1a.zip | |
fix(backend): fix admin game edit page
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | backend/admin/handler.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ up: .PHONY: down down: - ${DOCKER_COMPOSE} down + ${DOCKER_COMPOSE} down --remove-orphans .PHONY: logs logs: diff --git a/backend/admin/handler.go b/backend/admin/handler.go index 111476b..b50b942 100644 --- a/backend/admin/handler.go +++ b/backend/admin/handler.go @@ -261,5 +261,5 @@ func (h *Handler) postGameEdit(c echo.Context) error { return echo.NewHTTPError(http.StatusInternalServerError, err.Error()) } - return c.NoContent(http.StatusNoContent) + return c.Redirect(http.StatusSeeOther, c.Request().URL.Path) } |
