You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
247 B
11 lines
247 B
const tor = require('../lib/tor');
|
|
|
|
module.exports = (req, res, next) => {
|
|
tor.node(req.params.id)
|
|
.then(node => res.render('node.html', {
|
|
node: node,
|
|
}))
|
|
.catch(error => res.render('node.html', {
|
|
error: error
|
|
}));
|
|
}
|
|
|