fix(templates): website media staticDir to public folder (#8175)
This commit is contained in:
@@ -40,6 +40,6 @@ export const Media: CollectionConfig = {
|
|||||||
],
|
],
|
||||||
upload: {
|
upload: {
|
||||||
// Upload to the public/media directory in Next.js making them publicly accessible even outside of Payload
|
// 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'),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user