diff --git a/index.js b/index.js index 94493b6..30139b2 100644 --- a/index.js +++ b/index.js @@ -90,10 +90,8 @@ const middlewareWrapper = (app, config) => { return function*(next) { const startTime = process.hrtime() - console.log('path ', this.path) if (this.path === config.path) { - console.log(this.path) this.body = template(config) } else if (this.url === `${config.path}/koa-monitor-frontend.js`) { yield send(this, 'node_modules/koa-monitor/koa-monitor-frontend.js') diff --git a/package.json b/package.json index e57986c..2684633 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "koa-monitor", - "version": "0.2.1", + "version": "0.2.2", "description": "Realtime monitoring for koa-based Node applications", "main": "index.js", "keywords": [