diff --git a/src/collections/Media/Media.ts b/src/collections/Media/Media.ts index 2d6ff51..b63dbaa 100644 --- a/src/collections/Media/Media.ts +++ b/src/collections/Media/Media.ts @@ -38,8 +38,5 @@ export const Media: CollectionConfig = { }), }, ], - upload: { - // Upload to the public/media directory in Next.js making them publicly accessible even outside of Payload - staticDir: path.resolve(dirname, '../../public/media'), - }, + upload: true, }