im using nodejs and im trying to serve only html files (no jade, ejs ... engines).
heres my entry point (index.js) code:
var express = require(\'express
Use render only when using a rendering engines like jade or ejs. If you want to use plain HTML, place it in the public folder or serve it as a static file.
res.sendFile('index2.html', {root : __dirname + '/views'});