Hi!
I try to upload a pdf file through the panel and to let it be available for download in the website.
I upload the file regularly and let it be downloadable with a tag href. but when I download the file it says that the file does not exist.
this is the yml:
Title: info
fields:
about:
label: about text
type: textarea
phone:
label: phone number
type: text
instagram:
label: link to instagram
type: url
cv:
label: cv PDF file
type: files
I think the problem is that you don’t have application/pdf in mime types. I wonder if it makes sense to use both extensions and mime type, but if you do, you probably need to add everything to both props. I tested those settings, and I also cannot upload pdf like this. If I remove the second line, it works, and also when adding application/pdf under mime.