skip to Main Content

Reactjs – Issue with multer upload files

I want to upload images on the website built on React. I have issue with backend Node.js code. Code: const multer = require("multer"); // Check if the directory exists, if not, create it const directory = path.join(__dirname, "../src/assets/img/images"); if (!fs.existsSync(directory))…

VIEW QUESTION
Back To Top
Search