Update .gitignore and Media collection configuration
This commit is contained in:
parent
bb54d5e30c
commit
7244fb1d53
3
payload/.gitignore
vendored
3
payload/.gitignore
vendored
@ -2,4 +2,5 @@ node_modules/
|
||||
.env
|
||||
yarn.lock
|
||||
build
|
||||
dist
|
||||
dist
|
||||
src/media
|
@ -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 |
Loading…
Reference in New Issue
Block a user