mirror of
https://gitee.com/gitea/gitea
synced 2025-12-27 18:56:35 +08:00
Refactor HTTP request context (#17979)
This commit is contained in:
@@ -506,7 +506,7 @@ func U2FSign(ctx *context.Context) {
|
||||
if redirect == "" {
|
||||
redirect = setting.AppSubURL + "/"
|
||||
}
|
||||
ctx.PlainText(200, []byte(redirect))
|
||||
ctx.PlainText(http.StatusOK, redirect)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user