1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00
This commit is contained in:
David Bomba 2022-02-02 10:58:43 +11:00
parent a0ae3061c1
commit ee2130ed33
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
APP_NAME="Invoice Ninja"
APP_ENV=production
APP_KEY=
APP_KEY=base64:RR++yx2rJ9kdxbdh3+AmbHLDQu+Q76i++co9Y8ybbno=
APP_DEBUG=false
APP_URL=http://localhost

View File

@ -1 +1 @@
5.3.54
5.3.55

View File

@ -119,9 +119,9 @@ class Ninja
if(request()->hasHeader('Cf-Connecting-Ip'))
$ip = request()->header('Cf-Connecting-Ip');
elseif(request()->hasHeader('X-Forwarded-For'))
$ip = request()->header('Cf-Connecting-Ip');
$ip = request()->header('X-Forwarded-For');
else
$ip = request()->ip();
$ip = request()->ip() ?: ' ';
return [
'ip' => $ip,

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => '5.3.54',
'app_tag' => '5.3.54',
'app_version' => '5.3.55',
'app_tag' => '5.3.55',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''),