ADD: lndhub home redesign

This commit is contained in:
ncoelho
2021-02-16 12:03:56 +01:00
committed by Overtorment
parent 6d0e58a422
commit 59ca61657e
13 changed files with 411 additions and 921 deletions

View File

@@ -97,13 +97,6 @@ router.get('/qr', function (req, res) {
code.pipe(res);
});
router.get('/about', function(req, res) {
logger.log('/about', [req.id]);
let html = fs.readFileSync('./templates/about.html').toString('utf8');
res.setHeader('Content-Type', 'text/html');
return res.status(200).send(mustache.render(html, {}));
});
router.use(function (req, res) {
res.status(404).send('404');
});