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

11 lines
236 B
JavaScript
Raw Normal View History

2015-05-05 11:56:35 +02:00
var pejs = require('pejs');
views = pejs();
module.exports.index = function(req, res) {
res.setHeader('Content-Type', 'text/html');
views.render('index', res.locals, function(err, result) {
res.send(result);
});
}