<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script src="https://maps.googleapis.com/maps/api/js?key=sdfjwsdfjdlsfj_uyMO-9Ckljklfb4_DC-k_uqU&libraries=places"></script>
<div id="root"></div>
</body>
This is what I need to put in my index.html file in order for my react app to access the google maps API.
How do i hide the token?
1. It was answered there 2. And there
In short: it's public key and it's designed to be used like this
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.