Answer the question
In order to leave comments, you need to log in
Routing issues when deploying to heroku?
I have a server that I want to upload to heroku.
The problem is that it does not want to work, and as I found out by typing, because I connect a common router:
const router = require('./routes/index')
app.use('/api', router)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question