#I need help with Storage Adapters

6 messages · Page 1 of 1 (latest)

prime glacier
#

Hi everyone,

I'm trying to store images using Vercel Blob. In my payload.config.ts, I configured it like this:

vercelBlobStorage({
enabled: !!process.env.BLOB_READ_WRITE_TOKEN,
collections: {
media: true,
},
token: process.env.BLOB_READ_WRITE_TOKEN || "",
})

After uploading, when I check Vercel Blob, I can see that the images have been uploaded successfully. However, the src of the images in my Upload module are still returning a local URL instead of the Blob URL.

Does anyone know why this might be happening?

Sorry for my bad English.

prime glacier
finite knot
#

You’ll construct the URL using the blob URL pattern.

prime glacier