Add default NODE_ENV=prod
This commit is contained in:
parent
a9f129d4a7
commit
e77826b374
1 changed files with 1 additions and 1 deletions
2
app.js
2
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
|
||||
|
|
Loading…
Reference in a new issue