From ed115ecd2e76644e823fb861af20ad453db105b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Tobias=20de=20Freitas=20Neto?= Date: Tue, 26 Dec 2023 15:52:37 -0400 Subject: [PATCH] Permitindo setar configs a partir do env --- src/config/config.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/config/config.php b/src/config/config.php index 7711611..0d6cf06 100644 --- a/src/config/config.php +++ b/src/config/config.php @@ -2,8 +2,8 @@ return [ /* - * The api key used when sending Geocoding requests to Google. - */ + * The api key used when sending Geocoding requests to Google. + */ 'key' => env('GOOGLE_MAPS_GEOCODING_API_KEY', ''), /* @@ -12,26 +12,26 @@ return [ * More info: https://developers.google.com/maps/faq#languagesupport */ - 'language' => '', + 'language' => env('GOOGLE_MAPS_GEOCODING_LANGUAGE', ''), /* * The region param used to finetune the geocoding process. * * More info: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#RegionCodes */ - 'region' => 'br', + 'region' => env('GOOGLE_MAPS_GEOCODING_REGION', 'br'), /* * The bounds param used to finetune the geocoding process. * * More info: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Viewports */ - 'bounds' => 'Roraima', + 'bounds' => env('GOOGLE_MAPS_GEOCODING_BOUNDS', 'Roraima'), /* * The country param used to limit results to a specific country. * * More info: https://developers.google.com/maps/documentation/javascript/geocoding#GeocodingRequests */ - 'country' => 'Brazil', + 'country' => env('GOOGLE_MAPS_GEOCODING_COUNTRY', 'Brazil'), ]; \ No newline at end of file