I got a strange error in this problem made me crazy i don’t know what is the reason for this error
and this is my code
app.get('/json', (req, res) => {
let data = {"message": "Hello json"};
if(process.env.MESSAGE_STYLE === 'uppercase'){
data.message = data.message.toUpperCase();
}
res.json(data);
});
this code works fine and give no error when i run it on glitch but when i click submit button in freecodecamp this error apears to me.