Ok, fixed it.
npm i [email protected] ./nodebb upgradeBut i don't know why!?!?!?
I have configured "allow users to upload any file"
If I upload a pdf file, I get the following error message:
"Invalid file type. Allowed types are: .png, .jpg, .bmp, .jpeg"
NodeBB V1.13.3
node --version
v10.20.1
Any help is appreciated -
@iclou said in Upload of pdf files not working:
I have configured "allow users to upload any file"
I might be wary of allowing users to upload any type of file. Might suggest you restrict this a bit more unless you have a real use case for any and all file types, sans any restrictions.