From 10d6be36c7f6af6f5513d238ba300263b1fbc5ec Mon Sep 17 00:00:00 2001 From: Antony Budianto Date: Sat, 7 Jan 2017 12:20:52 +0700 Subject: [PATCH] fix app debug --- package.json | 2 +- src/util/logger.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 19e2322..58bfff9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "express-firebase-middleware", - "version": "0.1.0", + "version": "0.1.1", "description": "Express middleware for your Firebase applications", "main": "index.js", "scripts": { diff --git a/src/util/logger.js b/src/util/logger.js index 8e6ef46..17de1e3 100644 --- a/src/util/logger.js +++ b/src/util/logger.js @@ -1,4 +1,4 @@ -var debug = process.env.APP_DEBUG || true; +var debug = process.env.APP_DEBUG; function log() { if (!debug) return;