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

1
payload/.gitignore vendored
View File

@ -3,3 +3,4 @@ node_modules/
yarn.lock
build
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