Dapatkan Variabel Lingkungan di Node JS
console.log(app.get('env'))
if(app.get('env').toLowerCase()==="development"){
app.use(morgan("dev"))
}
Rasel Hossain
console.log(app.get('env'))
if(app.get('env').toLowerCase()==="development"){
app.use(morgan("dev"))
}