My Gitpod snapshot: Dashboard
Tried to solve the problem, but I don’t understand what I am missing. Made an if-else block to check for the MESSAGE_STYLE, but it is not chaning at the /json endpoint and I don’t know why. What am I missing?
I have an .env file with the message style (hopefully the snapshot is accessible) and I guess maybe the syntax is wrong. Tried the value in quotes and without, without change.
Ok, I remove the parenthesis and quotes. Tried it on the “/json” endpoint and with pasting the solution link in the course excercise. Still says " The response of the endpoint /json should change according to the environment variable MESSAGE_STYLE"
New snapshot: Dashboard
Don’t understand what I am doing wrong, because tried copying answers from others online, but without any change.
Yeah, I skipped reading that part, because I just saw it is required if you programm locally and it already was in the package.json.
Thank you for the help