We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1bc0594 + 1e8b29f commit 7ce1fcaCopy full SHA for 7ce1fca
1 file changed
services/s3.go
@@ -66,7 +66,7 @@ func UploadToS3Storage(file io.Reader, originalFilename, contentType string, par
66
if parsedConfig.AssetStorage == "local" {
67
publicURL = fmt.Sprintf("/kal-api/file/get/%s", filename)
68
} else {
69
- publicURL = fmt.Sprintf(parsedConfig.S3.PublicUrlFormat, "uploads", filename)
+ publicURL = fmt.Sprintf(parsedConfig.S3.PublicUrlFormat, filename)
70
}
71
72
return publicURL, nil
0 commit comments