refactor updater

This commit is contained in:
jayvirsinh_gohil
2019-11-13 20:14:46 +05:30
parent 3efc3357c1
commit fa1ddae78c
2 changed files with 5 additions and 4 deletions

View File

@ -17,9 +17,9 @@ class Updater
$data = null;
$path = null;
$url = 'laraspace/laraspace/zip/master';
$url = '/api/download';
$response = static::getRemote($url, ['timeout' => 50, 'track_redirects' => true]);
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);
// Exception
if ($response instanceof RequestException) {