Add default NODE_ENV=prod

This commit is contained in:
Gabriel Augendre 2016-04-21 02:39:29 +02:00
parent a9f129d4a7
commit e77826b374

2
app.js
View file

@ -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