Prashant0664 / Blog-website

A Blogging website created using MERN(MongoDB, ExpressJS, ReactJs, NodeJS)
https://allblogapp-project.vercel.app
23 stars 29 forks source link

Update upload.js from insecure file upload #18

Closed yudhi66 closed 1 month ago

yudhi66 commented 1 month ago

Update upload.js from insecure file upload

vercel[bot] commented 1 month ago

@yudhi66 is attempting to deploy a commit to the prashant0664's projects Team on Vercel.

A member of the Team first needs to authorize it.

Prashant0664 commented 1 month ago

kindly remove or fix app.use(fileUpload({ limits: { fileSize: 5 * 1024 * 1024 }, // Limit to 5MB })); as app is not declared in upload.js file.