Fix typo in comment (#2107)

Signed-off-by: Jiachen <zhangjc1999@gmail.com>
This commit is contained in:
Jiachen 2023-03-30 00:47:32 +08:00 committed by GitHub
parent 3a00e785ea
commit a574579d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ func (r *response) Preflight(ctx iris.Context) error {
}
if code := r.Code; code > 0 {
// You can call ctx.View or mvc.Vew{...}.Dispatch
// You can call ctx.View or mvc.View{...}.Dispatch
// to render HTML on Code != 200
// but in order to not proceed with the response resulting
// as JSON you MUST return the iris.ErrStopExecution error.