mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 12:32:36 +01:00
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', { });
|
||||
});
|
||||
|
||||
// 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
|
||||
app.get('/quotes', function(req, res) {
|
||||
res.render('quotelist', { 'name': dbot.name, 'quotelist': Object.keys(dbot.db.quoteArrs) });
|
||||
|
Loading…
Reference in New Issue
Block a user