@skanthanvijay
Posted
The most common way to hide API keys would be to do it as a fullstack app with environment variables off-client. For the Mapbox API key however, you can just restrict its URL to where you host the page so that others cant use it even if they see it.
Marked as helpful
@rohailtaha
Posted
@skanthanvijay Thanks a lot! So fullstack is the common way to go for such apps.