mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05:00
v5.0.0 update
This commit is contained in:
@@ -16,7 +16,7 @@ class Updater
|
||||
public static function checkForUpdate($installed_version)
|
||||
{
|
||||
$data = null;
|
||||
if (env('APP_ENV') === 'development') {
|
||||
if (env('APP_ENV') === 'development' || env('APP_ENV') === 'local') {
|
||||
$url = 'downloads/check/latest/'.$installed_version.'?type=update&is_dev=1';
|
||||
} else {
|
||||
$url = 'downloads/check/latest/'.$installed_version.'?type=update';
|
||||
|
||||
Reference in New Issue
Block a user