3d-interface/server/controllers/index/index.js

8 lines
189 B
JavaScript

module.exports.index = function(req, res) {
res.setHeader('Content-Type', 'text/html');
res.render('index.jade', res.locals, function(err, out) {
res.send(out);
});
};