Wouldn't the end-point address be exposed anyways even if you use. env or not if you push it to production server?
That's why you should use .env.development.local :) Those variables are not part of production build.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Wouldn't the end-point address be exposed anyways even if you use. env or not if you push it to production server?
That's why you should use .env.development.local :) Those variables are not part of production build.