Heroku production deployment

Author: eman1000Created Jan 11, 2018Updated Jan 11, 2018

I deployed the app to heroku saving dist folder but am just getting a blank screen with this error in the console

Profile web: node bin/server

bin/server const express = require('express') const path = require('path') const PORT = process.env.PORT || 5000

express()
  .get('*', function(req, res) {  
    res.sendFile(path.join(__dirname, '../dist/index.html'));
  })
  .listen(PORT, () => console.log(`Listening on ${ PORT }`))

Source: dvdzkwsk/react-redux-starter-kit