From c35ffe32283ba5b8340da0c5f191ef7d70797de9 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Tue, 27 Mar 2012 15:06:13 +0100 Subject: [PATCH] Revert "Add routing for web display of logs." This reverts commit e8eb66590053c2bcd425a635b5c883b18a3444d2. --- modules/web.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/web.js b/modules/web.js index a6bd581..e3ac0fa 100644 --- a/modules/web.js +++ b/modules/web.js @@ -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) });