Basic Node and Express - Use the .env File

How to use .env file:

Guys, I’m really stuck on this topic. can anybody help me?
I have already to create .env file. The key is MESSAGE_STYLE and The value is uppercase.
Here my code :

require(“dotenv”).config();
let express = require(“express”);
let app = express();
const mySecret = process.env.MESSAGE_STYLE;
const note = {
message: “Hello json”,
};
app.get(“/json”, (rq, rs) => {
if (mySecret === “uppercase”) {
note.message = note.message.toUpperCase();
}
rs.json(note);
});
module.exports = app;

I have tried and it’s running well. but when I submit it, the result is The response of the endpoint

/json

should change according to the environment variable

MESSAGE_STYLE

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0

Challenge Information:

Basic Node and Express - Use the .env File