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
+1 -5
View File
@@ -24,11 +24,7 @@ App::get('/v1/locale')
$time = (60 * 60 * 24 * 45); // 45 days cache
$countries = $locale->getText('countries');
$continents = $locale->getText('continents');
if (!App::isProduction()) {
$ip = '79.177.241.94';
}
$output['ip'] = $ip;
$currency = null;