removed api keys from public file
This commit is contained in:
parent
1013a84f32
commit
22557f3fcd
@ -6,7 +6,9 @@
|
||||
|
||||
# DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
|
||||
# DATABASE_URL="mysql://root:%21Plop2099341723@192.168.50.190:3306/db"
|
||||
MAPS_API_KEY="https://www.google.com/maps/embed/v1/place?q=place_id:ChIJQ-7Uc0BitocRQZASTWUyN04&key=AIzaSyBS4qOnpT4llaFa_UKMpeWike3lzDvFZ1U"
|
||||
MAPS_API_KEY="https://www.google.com/maps/embed/v1/place?q=place_id:ChIJQ-7Uc0BitocRQZASTWUyN04&key=AIzaSyAREyrK0fG1haeNcLFbap0kBhP9Ld2_GSU"
|
||||
GOOGLE_API_KEY="AIzaSyAREyrK0fG1haeNcLFbap0kBhP9Ld2_GSU"
|
||||
PLACE_ID_KEY="ChIJQ-7Uc0BitocRQZASTWUyN04"
|
||||
|
||||
DB_HOST="aws.connect.psdb.cloud"
|
||||
DB_USER="11lq0wcjbxyku4zmubji"
|
||||
|
||||
@ -2,13 +2,13 @@ import React from 'react';
|
||||
import GoogleReviews from './google_reviews';
|
||||
|
||||
const App = () => {
|
||||
const apiKey = 'AIzaSyClfOGrkQNRjDFzvnTk-W7Oeh-yyDNCXN0'; // Replace with your Google API key
|
||||
const placeId = 'ChIJQ-7Uc0BitocRQZASTWUyN04'; // Replace with the Google Place ID of the location
|
||||
const apiKey = ''; // Replace with your Google API key
|
||||
const placeId = ''; // Replace with the Google Place ID of the location
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>Google Reviews</h1>
|
||||
<GoogleReviews apiKey={apiKey} placeId={placeId} />
|
||||
<GoogleReviews apiKey={process.env.GOOGLE_API_KEY} placeId={process.env.PLACE_ID_KEY} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user