feat(s3): add publishedPrefix to pathCache to avoid reupload of files

This commit is contained in:
Alejandro Guijarro Monerris
2025-08-13 16:35:34 +02:00
parent 231039e86c
commit a1f659bea0

View File

@@ -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]
}
}