express res send page code example
Example: express send html file
app.get('/test', function(req, res) {
res.sendFile('test.html', {root: __dirname })
});
app.get('/test', function(req, res) {
res.sendFile('test.html', {root: __dirname })
});