1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Minor fixes

This commit is contained in:
David Bomba 2023-03-06 13:15:11 +11:00
parent 7d871edd4e
commit 2f3b0e51f0
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,8 @@ class SubdomainController extends BaseController
'lb',
'shopify',
'beta',
'prometh'
'prometh',
'license',
];
public function __construct()

View File

@ -64,7 +64,7 @@ class Ninja
'license' => config('ninja.license'),
];
$data = trim(CurlUtils::post('https://license.invoiceninja.com/api/check', $data));
$data = trim(CurlUtils::post('https://license.invoicing.co/api/check', $data));
$data = json_decode($data);
if ($data && property_exists($data, 'message') && $data->message == sha1(config('ninja.license'))) {