mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 12:42:25 -05:00 
			
		
		
		
	bump go-store version (includes minio) (#1657)
Signed-off-by: kim <grufwub@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								0746ef741a
							
						
					
				
			
			
				commit
				
					
						a5c920a50b
					
				
			
		
					 33 changed files with 14876 additions and 8512 deletions
				
			
		
							
								
								
									
										5
									
								
								vendor/github.com/minio/minio-go/v7/bucket-cache.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/minio/minio-go/v7/bucket-cache.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -190,12 +190,11 @@ func (c *Client) getBucketLocationRequest(ctx context.Context, bucketName string | |||
| 		} | ||||
| 	} | ||||
| 
 | ||||
| 	isVirtualHost := s3utils.IsVirtualHostSupported(targetURL, bucketName) | ||||
| 	isVirtualStyle := c.isVirtualHostStyleRequest(targetURL, bucketName) | ||||
| 
 | ||||
| 	var urlStr string | ||||
| 
 | ||||
| 	// only support Aliyun OSS for virtual hosted path,  compatible  Amazon & Google Endpoint | ||||
| 	if isVirtualHost && s3utils.IsAliyunOSSEndpoint(targetURL) { | ||||
| 	if isVirtualStyle { | ||||
| 		urlStr = c.endpointURL.Scheme + "://" + bucketName + "." + targetURL.Host + "/?location" | ||||
| 	} else { | ||||
| 		targetURL.Path = path.Join(bucketName, "") + "/" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue