From a5702371efb9daea43e2bf89dc637d2addb43c28 Mon Sep 17 00:00:00 2001 From: Alejandro Guijarro Monerris Date: Wed, 13 Aug 2025 16:35:34 +0200 Subject: [PATCH] feat(s3): add publishedPrefix to pathCache to avoid reupload of files --- s3/public.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3/public.go b/s3/public.go index 09b1afdb..fa0d96d8 100644 --- a/s3/public.go +++ b/s3/public.go @@ -346,7 +346,7 @@ func (storage *PublishedStorage) LinkFromPool(publishedPrefix, publishedRelPath, storage.pathCache = make(map[string]string, len(paths)) for i := range paths { - storage.pathCache[filepath.Join("pool", paths[i])] = md5s[i] + storage.pathCache[filepath.Join(publishedPrefix, "pool", paths[i])] = md5s[i] } }