From 19da14e79ab090d77912f89e7088a960dc8f64d6 Mon Sep 17 00:00:00 2001 From: theory Date: Mon, 17 Mar 2014 03:10:42 -0600 Subject: [PATCH] yay --- init.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.js b/init.js index ca6259b0..7e8ca5fc 100644 --- a/init.js +++ b/init.js @@ -1,4 +1,5 @@ process.env.rootdir = __dirname; +console.log(">>>>>>>>>>>>>>>>>>>> environment", process.env.NODE_ENV); var LIVE = process.env.LIVE || (process.env.NODE_ENV === 'production') , web = require(process.env.COALESCEPATH = LIVE?'coalesce':process.env.rootdir+'/../coalesce/coalesce') , opt = {}; @@ -9,7 +10,7 @@ process.env.domain = LIVE? 'http://gunjs.herokuapp.com' : })})(); opt.hook = { pre: (function(req,res){ - console.log("--------- "+req.flow+" : "+req.url.pathname +" ---------------"); + //console.log("--------- "+req.flow+" : "+req.url.pathname +" ---------------"); }) };