diff --git a/templates/website/src/collections/Media.ts b/templates/website/src/collections/Media.ts index 3b3d654c9..d78b8a6db 100644 --- a/templates/website/src/collections/Media.ts +++ b/templates/website/src/collections/Media.ts @@ -40,6 +40,6 @@ 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'), + staticDir: path.resolve(dirname, '../../public/media'), }, }