How to use the .env file?
vedprad1 (906)

I have heard that using a file with the extension of .env can allow you to hide variables from other users, but I do not know exactly how to do it. Does anyone know how to do it?

You are viewing a single comment. View All
Answered by CaptainAnon (142) [earned 5 cycles]
View Answer
RolandJLevy (1046)

Hi @CoolCoderSJ, thanks for pointing it out. Yes, you're right and I now only use .env files on the back end so they're hidden. I think I was experimenting at the time.

Can you let me know which repl you're referring to?