var config = require('env/' + process.env.NODE_ENV),
Trying to integrate my upload system using dropzone js and aws in nodejs. But the first line already confused me. Where does that thing coming from and what does it means?
var config = require('env/' + process.env.NODE_ENV),
Trying to integrate my upload system using dropzone js and aws in nodejs. But the first line already confused me. Where does that thing coming from and what does it means?
From the github link you have shared, it is a controller code in express.js
So considering that
process.env.NODE_ENV
will return the value of environment variable NODE_ENV set by express.js