DEV Community

Discussion on: Stop pushing your React API Key on GitHub 😪

koichadev profile image
Khoi Hoang • Edited on

Wouldn't the end-point address be exposed anyways even if you use. env or not if you push it to production server?

jancizmar profile image
Jan Cizmar

That's why you should use .env.development.local :) Those variables are not part of production build.