Merge branch 'master' of github.com:appwrite/appwrite into restify
This commit is contained in:
commit
7319e86145
4 changed files with 3 additions and 3 deletions
BIN
app/db/DBIP/dbip-country-lite-2020-01.mmdb
Normal file
BIN
app/db/DBIP/dbip-country-lite-2020-01.mmdb
Normal file
Binary file not shown.
Binary file not shown.
4
build.sh
4
build.sh
|
@ -8,9 +8,9 @@ echo "Updating git repository $1 / $2"
|
|||
git fetch origin
|
||||
git reset --hard origin/master
|
||||
|
||||
if test $(find "./app/db/GeoLite2/GeoLite2-Country.mmdb" -mmin +259200)
|
||||
if test $(find "./app/db/DBIP/dbip-country-lite-2020-01.mmdb" -mmin +259200)
|
||||
then
|
||||
printf "${RED}GEO country DB has not been updated for more than 6 months. Go to https://dev.maxmind.com/geoip/geoip2/geolite2/ for more info${NC}\n"
|
||||
printf "${RED}GEO country DB has not been updated for more than 6 months. Go to https://db-ip.com/db/download/ip-to-country-lite to download a newer version${NC}\n"
|
||||
fi
|
||||
|
||||
echo 'Starting build...'
|
||||
|
|
|
@ -2,4 +2,4 @@ The locale service allows you to customize your app based on your users' locatio
|
|||
|
||||
The user service supports multiple locales. This feature allows you to fetch countries and continents information in your app language. To switch locales, all you need to do is pass the 'X-Appwrite-Locale' header or set the 'setLocale' method using any of our available SDKs. [View here the list of available locales](https://github.com/appwrite/appwrite/blob/master/app/config/locales.php).
|
||||
|
||||
This product includes GeoLite2 data created by MaxMind, available from [https://www.maxmind.com](https://www.maxmind.com).
|
||||
<a href='https://db-ip.com'>IP Geolocation by DB-IP</a><!-- https://db-ip.com/db/download/ip-to-country-lite -->
|
Loading…
Reference in a new issue