Josh Yan 10 months ago
parent
commit
689a7cb90d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      server/routes.go

+ 0 - 1
server/routes.go

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