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

13 lines
253 B
JavaScript

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