Use temporary redirects

This commit is contained in:
2019-06-03 15:06:57 +09:00
parent e11295019b
commit cf258573a8
12 changed files with 28 additions and 23 deletions

View File

@ -32,6 +32,6 @@ func Install(app *aero.Application) {
ctx.Session().Delete("userId")
}
return ctx.Redirect(http.StatusFound, "/")
return ctx.Redirect(http.StatusTemporaryRedirect, "/")
})
}