Update .gitignore and Media collection configuration

This commit is contained in:
Max Schmidt 2023-06-06 17:29:03 +02:00
parent bb54d5e30c
commit 7244fb1d53
3 changed files with 2 additions and 2 deletions

3
payload/.gitignore vendored
View File

@ -2,4 +2,5 @@ node_modules/
.env
yarn.lock
build
dist
dist
src/media

View File

@ -12,7 +12,6 @@ export const Media: CollectionConfig = {
staticURL: "/media",
staticDir: "media",
mimeTypes: ["image/*"],
adminThumbnail: ({ doc }) => `${process.env.PAYLOAD_URL}/media/${doc.src}`,
},
fields: [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 KiB