Checking .env file

Tell us what’s happening:
the question needed the output to check if the .env file is true, if it is, the response should all be CAPS, if its not true, the response will be as normal.
I have tried to change the .env value, and both response is correct. But its not accepting my answer.

Your project link(s)

solution: https://replit.com/@changjiale/boilerplate-express-5

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

Are you checking the status of the env variable inside of your function handling the GET request? If not, your app cannot respond to changes in the env variable.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.