Its necessary to put a barrer to impide upload files that are not images with /media endpoint?
Closed this issue · 2 comments
tomivm commented
I did some tries to upload pdf and videos with /media and I get a status 200; @sylvansson
sylvansson commented
That would be a question for @martinbedouret. But based on the frontend code, we also use this endpoint to upload audio files, so we shouldn't only allow images.
tomivm commented
good point. I did not consider that.