DEV Community

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

Collapse
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?

Collapse
jancizmar profile image
Jan Cizmar

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