Fixed redirect status code.
This commit is contained in:
parent
0ca3c2b701
commit
cd1887124e
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
|
return nil
|
||||||
} else {
|
} else {
|
||||||
return ctx.Redirect(303, url)
|
return ctx.Redirect(http.StatusFound, url)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue