From fefef52dae5a4bf623a578f25f17c064a91aee4c Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 17 Oct 2020 09:58:40 +0300 Subject: [PATCH] Removde hard-coded IP --- app/controllers/api/locale.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/controllers/api/locale.php b/app/controllers/api/locale.php index 8431e00f6..8be46d8e4 100644 --- a/app/controllers/api/locale.php +++ b/app/controllers/api/locale.php @@ -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;