Open platform to collect and prioritize feedback
fix: use 301 instead of 308 (#662)
Guilherme Oenninga49d91021968
diff --git a/app/pkg/web/context.go b/app/pkg/web/context.goindex 6166c7a1e..9500b240e 100644--- a/app/pkg/web/context.go+++ b/app/pkg/web/context.go@@ -514,7 +514,7 @@ func (ctx *Context) Redirect(url string) error {func (ctx *Context) PermanentRedirect(url string) error {ctx.Response.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")ctx.Response.Header().Set("Location", url)- ctx.Response.WriteHeader(http.StatusPermanentRedirect)+ ctx.Response.WriteHeader(http.StatusMovedPermanently)return nil}