From e77826b3743c08773d880bb7adc6be2bf9304370 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 21 Apr 2016 02:39:29 +0200 Subject: [PATCH] Add default NODE_ENV=prod --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index c1123ac..431b2f2 100644 --- a/app.js +++ b/app.js @@ -16,7 +16,7 @@ var enforce = require('express-sslify'); var client_id = process.env.CLIENT_ID; // Your client id var client_secret = process.env.CLIENT_SECRET; // Your client secret var redirect_uri = process.env.CALLBACK; // Your redirect uri -var environment = process.env.NODE_ENV; +var environment = process.env.NODE_ENV || 'prod'; /** * Generates a random string containing numbers and letters