Google Maps modal correctly when page loads but after closing the modal and reopening it doesn't
Unanswered
Polar bear posted this in #help-forum
Original message was deleted.
5 Replies
Original message was deleted
set to key with NEXT_PUBLIC prefix
@Ray set to key with NEXT_PUBLIC prefix
Polar bear
Is it not bad practice to have api keys public though?
yes but for google map, you have to expose it to browser
you can restrict the access for the key in your google console
Polar bear
got it. Thanks!