I have found the solution to error from here
app.get('/*', function(req, res) {
res.sendFile(path.join(__dirname, 'path/to/your/index.html'), function(err) {
if (err) {
res.status(500).send(err)
}
})
})
but I am not able to understand what I have actually write in that index.html file
