.env files not working with html,css,js.
When I use .env files to hide important tokens and more with my html,css,js repl for a web, there's a problem that should be fixed. When viewing code, it was hidden, however when viewing as site, it was fully visible. Is there any way to disable it so my .env files are really hidden? Because making it visible through web completely canceles the point of .env file.
.env files are more or less for programs that are run as a server and/or as a program on the VM, not for a static server (which is what a HTML, CSS, JS repl is). .env files will be fully visible and open to URLS. Besides, the .env can't be stored as an environmental variable because there is no environment (it's all just files that are served whenever a request comes in)! You also couldn't access them with JS anyways (JS is run on the client, the environmental variables don't get transferred to the client (which is probably what you don't want it to do in the first place)).