dcsunny 4 năm trước cách đây
mục cha
commit
47e1f0e73e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      http/handle.go

+ 1 - 1
http/handle.go

@@ -118,7 +118,7 @@ func ErrHandle(w http.ResponseWriter, r *http.Request, err error) {
 		return
 	} else if code == 401 {
 		w.WriteHeader(401)
-		code = 40401
+		code = 10401
 	} else {
 		if code < 10000 {
 			code = 10000 + code