addling common header file in Nodejs Express

603 Views Asked by At

I am using HTML file and Express using NODEJS

exports.sendDashboardHtml = function(req,res,next){
  res.sendfile(HTMLLOCATION+'/dashboard.html');
};

which is delivering the HTML File with no problem. Now i want to add common header and footer file into this. How it possible. I don't using any template engine.

Thanks in advance

0

There are 0 best solutions below