Merge branch 'master' of https://gitlab.com/mohit.panjvani/crater-web into namespace-changes

This commit is contained in:
jayvirsinh_gohil
2019-11-16 10:58:59 +05:30
44 changed files with 182123 additions and 1668 deletions

View File

@ -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]);