diff options
| -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) } |
