dcsunny 4 years ago
parent
commit
47e1f0e73e
1 changed files with 1 additions and 1 deletions
  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