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

9 lines
214 B
JavaScript
Raw Normal View History

2015-05-05 11:56:35 +02:00
module.exports.index = function(req, res) {
res.setHeader('Content-Type', 'text/html');
2015-05-05 16:30:51 +02:00
res.render('index.jade', res.locals, function(err, out) {
console.log(err);
res.send(out);
2015-05-05 11:56:35 +02:00
});
}