Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
Heroku не хочет моё приложение, как быть?
.listen(process.env.PORT || 5000)
const express = require('express')
const path = require('path')
const PORT = process.env.PORT || 5000
express()
.use(express.static(path.join(__dirname, 'public')))
.set('views', path.join(__dirname, 'views'))
.set('view engine', 'ejs')
.get('/', (req, res) => res.render('pages/index'))
.listen(PORT, () => console.log(`Listening on ${ PORT }`))