Fixed redirect status code.
This commit is contained in:
parent
b4b8153d06
commit
31a3503021
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue