DEV Community

Discussion on: Hiding API Keys in Your Code

Collapse
 
ivana_croxcatto profile image
Ivana Croxcatto

And I just checked the XHR request, and it is visible, as you say. So, please, if you can, explain what would be a best solution in this case (using React, GitHub and Zeit), so I can edit accordingly and use a good practice.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Zeit can also have serverless functions in /api/ folder.

Thread Thread
 
ivana_croxcatto profile image
Ivana Croxcatto

Thanks!! Good to know, I'll check it out.