Skip to content
Snippets Groups Projects
Commit 58fffbd8 authored by Johan de Klerk's avatar Johan de Klerk
Browse files

S3 url from file name

parent 7849b4ed
Branches
Tags v1.38.0
No related merge requests found
......@@ -362,7 +362,7 @@ func GetS3FileKey(fileName string, folder string) string {
}
func URLFromFileName(region string, bucket string, fileName string) string {
logoUrl := "https://%s.s3.%s.amazonaws.com/logos/%s"
logoUrl := "https://%s.s3.%s.amazonaws.com/%s"
logoUrl = fmt.Sprintf(logoUrl, bucket, region, fileName)
return logoUrl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment