Simple S3-like server for development purposes, written in Go
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix incorrect key in ListBucketResult

+2 -1
+2 -1
server.go
··· 78 78 lastModified = fileInfo.ModTime().UTC().Format(time.RFC3339) 79 79 objectSize = fileInfo.Size() 80 80 } 81 + key, _ := filepath.Rel(bucketName, filepath.Join(path, file.Name())) 81 82 objects = append(objects, Object{ 82 - Key: file.Name(), 83 + Key: key, 83 84 LastModified: lastModified, 84 85 Size: objectSize, 85 86 })