DEV Community

loading...

Discussion on: Hiding API Keys in Your Code

Collapse
ivana_croxcatto profile image
Ivana Croxcatto Author

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 Author

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

Forem Open with the Forem app