mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
refactor updater
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user