multer not work in api server online but working in local server
I already checked the relative path with path and it seems to be right I think the server has some protection against image downloads. How can I solve it?
3 Replies
Project ID:
55c3c92f-1a7c-49d9-af71-5de4bbc09af8
55c3c92f-1a7c-49d9-af71-5de4bbc09af8
the error seems to indicate that the directory structure
/app/tmp
doesn't exist?
if you are deploying from github, you can locally create that directory structure and put a .gitkeep in the /tmp
folder as otherwise github ignores empty folders