mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
Merge branch 'master' of https://gitlab.com/mohit.panjvani/crater-web into namespace-changes
This commit is contained in:
@ -18,7 +18,7 @@ class Updater
|
||||
$data = null;
|
||||
$path = null;
|
||||
|
||||
$url = '/downloads/file/'.$version.'?type=update';
|
||||
$url = 'https://craterapp.com/downloads/file/'.$version.'?type=update';
|
||||
|
||||
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);
|
||||
|
||||
@ -99,7 +99,7 @@ class Updater
|
||||
public static function checkForUpdate()
|
||||
{
|
||||
$data = null;
|
||||
$url = '/downloads/check/latest/'.Setting::getSetting('version');
|
||||
$url = 'https://craterapp.com/downloads/check/latest/'. Setting::getSetting('version');
|
||||
|
||||
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user