1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

Merge pull request #686 from appwrite/fix-incorrect-locale-in-dev-mode

Removde hard-coded IP
This commit is contained in:
Eldad A. Fux 2020-10-17 10:21:04 +03:00 committed by GitHub
commit caf1faead4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,10 +25,6 @@ App::get('/v1/locale')
$countries = $locale->getText('countries'); $countries = $locale->getText('countries');
$continents = $locale->getText('continents'); $continents = $locale->getText('continents');
if (!App::isProduction()) {
$ip = '79.177.241.94';
}
$output['ip'] = $ip; $output['ip'] = $ip;
$currency = null; $currency = null;