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

10 lines
197 B
JavaScript

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