3d-interface/index/index.js

11 lines
285 B
JavaScript
Raw Normal View History

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