forked from GitHub/dbot
Revert "Add routing for web display of logs."
This reverts commit e8eb665900
.
This commit is contained in:
parent
c7124aa49e
commit
c35ffe3228
@ -16,11 +16,6 @@ var webInterface = function(dbot) {
|
|||||||
//res.render('index', { });
|
//res.render('index', { });
|
||||||
});
|
});
|
||||||
|
|
||||||
// Displays any logs collected by the logging module
|
|
||||||
app.get('/log', function(req, res) {
|
|
||||||
res.render('log', { 'name': dbot.name, 'log': (dbot.log || []) });
|
|
||||||
});
|
|
||||||
|
|
||||||
// Lists the quote categories
|
// Lists the quote categories
|
||||||
app.get('/quotes', function(req, res) {
|
app.get('/quotes', function(req, res) {
|
||||||
res.render('quotelist', { 'name': dbot.name, 'quotelist': Object.keys(dbot.db.quoteArrs) });
|
res.render('quotelist', { 'name': dbot.name, 'quotelist': Object.keys(dbot.db.quoteArrs) });
|
||||||
|
Loading…
Reference in New Issue
Block a user