mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
Add country restriction to config.js file
This commit is contained in:
parent
dfbaa5449e
commit
b038aa2f5b
1 changed files with 5 additions and 0 deletions
|
|
@ -129,6 +129,11 @@ const maps = {
|
|||
// `default-location-searches.js` file.
|
||||
defaults:
|
||||
process.env.REACT_APP_DEFAULT_SEARCHES_ENABLED === 'true' ? defaultLocationSearches : [],
|
||||
|
||||
// Limit location autocomplete to a one or more countries
|
||||
// using ISO 3166 alpha 2 country codes separated by commas.
|
||||
// If you want to limit the autocomplete, uncomment this value:
|
||||
// countryLimit: ['AU'],
|
||||
},
|
||||
|
||||
// When fuzzy locations are enabled, coordinates on maps are
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue