Open eman1000 opened 6 years ago
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
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 }`))
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