"Use the .env File"

Tell us what’s happening:
The code seems to be working and I can get the json output using curl as well. However, the evaluator doesn’t mark my solution as correct. Please check myApp.js. Thanks in advance!

Project link(s)

solution: https://replit.com/@archanlagoo/boilerplate-express

Browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Challenge: Use the .env File

Link to the challenge:

I think you need to use this URL for the tests to run https://boilerplate-express--archanlagoo.repl.co Also visiting https://boilerplate-express--archanlagoo.repl.co/json shows an error. I’m not sure what the solution is, but I did notice that you are redefining message with another let which I assume is unintentional.

1 Like