[英]AWS Elastic Beanstalk - Express.js, update empties /uploads folder
When I update my my app eb push
, my /uploads
directory gets cleared. 更新我的应用程序eb push
, /uploads
目录将被清除。 I'm using this folder to store images. 我正在使用此文件夹存储图像。 I thought maybe it had to do with git and so I added this folder to the .gitignore
, but it still clears the folder on update. 我以为可能与git有关,因此我将此文件夹添加到.gitignore
,但在更新时仍会清除该文件夹。 Why does this happen? 为什么会这样? How do I fix this? 我该如何解决?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.