Fixed redirect status code.
This commit is contained in:
parent
0ca3c2b701
commit
cd1887124e
@ -163,7 +163,7 @@ func (c *Controller) Redirect(ctx echo.Context, route string, routeParams ...int
|
||||
|
||||
return nil
|
||||
} else {
|
||||
return ctx.Redirect(303, url)
|
||||
return ctx.Redirect(http.StatusFound, url)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user