Answer the question
In order to leave comments, you need to log in
Heroku doesn't want my app, what should I do?
I started the bot, it opens for me, it works for 50 seconds after the logs are issued
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
Answer the question
In order to leave comments, you need to log in
Heroku doesn't want my app, what should I do?
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 }`))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question