Josh Yan 10 tháng trước cách đây
mục cha
commit
3aee405dfa
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      server/routes.go

+ 0 - 1
server/routes.go

@@ -812,7 +812,6 @@ func (s *Server) IsLocal(c *gin.Context) bool {
 	fmt.Println("entered islocal")
 	fmt.Println(c.GetHeader("Authorization"), " is authorization")
 	if authz := c.GetHeader("Authorization"); authz != "" {
-
 		parts := strings.Split(authz, ":")
 		if len(parts) != 3 {
 			fmt.Println("failed at lenParts")