Basis Node und Express - Verwende .env-Dateien

Tell us what’s happening:

i cant get any response at this Exercise:
Fehlgeschlagen:1. The response of the endpoint /json should change according to the environment variable MESSAGE_STYLE

###Your project link(s)

solution: https://3000-freecodecam-boilerplate-wp0c5ql67du.ws-eu116.gitpod.io

Your browser information:

User Agent ist: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Basis Node und Express - Verwende .env-Dateien

 app.get("/json", (req, res) => {
    var message = 'Hello json';
    if ( process.env.MESSAGE_STYLE === "uppercase") {
          message = message.toUpperCase();
    }
    res.json({ "message": message });
  });

Got it!
added constant response for the MessageStyle to verify the environment.