我在heroku上有一个node.js应用程序,它将图像保存在public/productimages文件夹中.但每次我推送新代码时,所有以前的图像都会被删除.我在.gitignore文件中添加了productimages但没有用.我的本地计算机中的public/productimages是空的.
git heroku node.js
git ×1
heroku ×1
node.js ×1