Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix(plugin-cloud-storage): fixes an issue with generateFileURL not being respected (#15565)
Fixes https://github.com/payloadcms/payload/issues/15554 When `generateFileURL` is defined at the collection level, the beforeChange hook was not using the collection level `generateFileURL` but instead would fallback to `adapter.generateURL`. The user did not have an endpoint set on their cloud storage plugin, so this resulted in the url being generated and stored with a prefix of `undefined/`.
J
Jarrod Flesch committed
9089d32210f480c4270c3a0f4e3019408c2bb5a8
Parent: 2b3061a
Committed by GitHub <noreply@github.com>
on 2/9/2026, 8:47:59 PM