DEV Community

Discussion on: Hiding API Keys in Your Code

Collapse
 
bigcodenerd profile image
Utkarsh Bhatt

As others have also said, I think the API key will be visible in the Network tab in your browser. If you really want to hide the api key, then you can use Cloudflare Workers for the purpose.

Here's an article related to it.

bigcodenerd.org/map-cloudflare-wor...

Disclaimer: It's my website, but I think the article is relevant to this use case.

Collapse
 
ivana_croxcatto profile image
Ivana Croxcatto

Thank you for sharing!