This is my code:
xxx = require('./routes/xxx');
app.get('/myNodePage',routes.eXxxTxt);
app.post('/myNodePage', function(req,res,nextResult){
xxx.emailHtml(req,res,nextResult);
});
And when i run this i get "Cannot GET / my Node Page". What am i doing wrong? why i am getting this?