Response changed with dotenv not solved

Tell us what’s happening:
My Repl.lt appears to be giving the right output for the json gateway
but when I try to submit my solution link; it still says The response of the endpoint
“/json” should change according to the environment variable
MESSAGE_STYLE. When I test it in the browser ; the response is

message	"HELLO JSON"

Your project link(s)

solution: https://boilerplate-express.a2937.repl.co

I don’t understand why this is happening.

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

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