SyntaxFix
Write A Post
Hire A Developer
Questions
Simon's answer was correct for me. I added this code:
app.get('*', function(req, res, next) { res.sendfile("dist/index.html"); });