flutter_dotenv
flutter_dotenv copied to clipboard
hide .env file on the web
Hi, thanks for this package.
I'm using it in a web project, but I noticed that the .env file is available via inspector, I think because it's in assets, is there any way I can hide it?
Related issue https://github.com/java-james/flutter_dotenv/issues/51
@rodrigorafaeldamaceno , you shouldn't put secrets on the frontend. It's an env file intended to put endpoints, tokens, flags that will always be visible to the frontend even if compiled into the code.