1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

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

View File

@@ -35,7 +35,7 @@ func (r *response) Preflight(ctx iris.Context) error {
} }
if code := r.Code; code > 0 { 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 // to render HTML on Code != 200
// but in order to not proceed with the response resulting // but in order to not proceed with the response resulting
// as JSON you MUST return the iris.ErrStopExecution error. // as JSON you MUST return the iris.ErrStopExecution error.