the-guard-bot
the-guard-bot copied to clipboard
It does not work on heroku
Yes, it's known. We are working on fixing that.
okay
@fasilminale Well heroku requires your app to listen on a port so you can make it work by adding this to the line in your index.js:
require("http").createServer((req, res)=>res.end("3")).listen(process.env.PORT);
At least that what I did.
@redcodemohammed The real issue is Heroku doesn't persist filesystem changes. The Guard has a file based database, which will be reset on restart.
Yep, you need to use some add-ons for persistent storage
@MKRhere Yeah, I had the same problem.