What is wrong with my solution to this problem?

My project link(s)

solution: https://boilerplate-express-1.aliemili.repl.co

Error:
Cannot set headers after they are sent to the client

Challenge: Use the .env File

Link to the challenge:

1 Like