aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--backend/admin/handler.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2361ac5..bf3b34c 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
}