mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
v5.1.63
This commit is contained in:
parent
5c26fc572c
commit
735771eef2
@ -1 +1 @@
|
||||
5.1.62
|
||||
5.1.63
|
@ -11,6 +11,7 @@
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use App\Utils\Ninja;
|
||||
use Closure;
|
||||
use Illuminate\Http\Request;
|
||||
use stdClass;
|
||||
@ -26,7 +27,7 @@ class ApiSecretCheck
|
||||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if (! config('ninja.api_secret')) {
|
||||
if (! config('ninja.api_secret') || Ninja::isHosted()) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
|
@ -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.1.62',
|
||||
'app_tag' => '5.1.62-release',
|
||||
'app_version' => '5.1.63',
|
||||
'app_tag' => '5.1.63-release',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', ''),
|
||||
|
Loading…
x
Reference in New Issue
Block a user