Files
dotCooCoo cecfcf0e78 CMS: upload VectorCraft card pictures to /assets/uploads/vectorcraft/
The VectorCraft collection's Card picture field had no folder of its
own, so the editor saved an uploaded picture to public/assets/uploads/
and wrote /assets/uploads/<file> into the page's cover field. The
content schema only accepts a cover under /assets/uploads/<app>/, so
a page saved with such a cover failed the build.

The field now sets media_folder and public_folder to the vectorcraft
folder. scripts/cms-config.test.mjs checks that every collection with a
cover field uploads to the folder the schema accepts, and
npm run test:coverage runs it.
2026-11-14 13:01:26 -08:00
..