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
Percy
Percy2y ago
Project ID: 55c3c92f-1a7c-49d9-af71-5de4bbc09af8
drailer
drailer2y ago
55c3c92f-1a7c-49d9-af71-5de4bbc09af8
Brody
Brody2y ago
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
Want results from more Discord servers?
Add your server