Back End Development and APIs - Basic Node and Express- Use the .env file

Tell us what’s happening:
The api call ‘/json’, does not change responses from the code I have provided. Not sure what I did wrong.

I am using repl.it to host project, maybe that has something to do with it.

Your project link(s)

solution: https://replit.com/@williamgreen4/boilerplate-express-2

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

Click the padlock icon in the sidebar and add the environment variables there. Then access it on process.env (you do not need dotenv).