fix(storage-vercel-blob): client uploads with a prefix (#12559)

Fixes https://github.com/payloadcms/payload/issues/12544
This commit is contained in:
Sasha
2025-05-26 22:42:25 +03:00
committed by GitHub
parent 1731dd7c36
commit b61ef13481
3 changed files with 6 additions and 4 deletions

View File

@@ -30,5 +30,7 @@ export const VercelBlobClientUploadHandler =
if (addRandomSuffix) {
updateFilename(result.url.replace(`${baseURL}/`, ''))
}
return { prefix }
},
})