I am not able solve below problem, Can I know where I am doing wrong.
let express = require(‘express’);
let app = express();
app.get(“/json”, (req, res) => {
const mySecret = process.env[‘MESSAGE_STYLE’]
if(mySecret === “uppercase”)
{
res.json({message:“HELLO JSON”});
}
else
{
res.json({message:“hello json”});
}
});