DEV Community


Discussion on: Build a simple app using Node JS and MySQL.

achowba profile image
Atauba Prince Author

I have no suggestions yet, but is it working?

Thread Thread
diegoeroque profile image
Diego Roque

Following the post of Al-mck....

I change the first line by :
fs.writeFile(public/assets/img/${image_name},, function (err) {...

and now it's working fine.

Best Rgs.