add check version and refactpr auto update

This commit is contained in:
jayvirsinh_gohil
2019-11-14 21:00:17 +05:30
parent 0d9ca2a0fd
commit 917b618ac7
7 changed files with 37 additions and 19 deletions

View File

@ -129,6 +129,11 @@ Route::group(['middleware' => 'api'], function () {
'uses' => 'UpdateController@update'
]);
Route::get('/check/update', [
'as' => 'check.update',
'uses' => 'UpdateController@checkLatestVersion'
]);
Route::get('/bootstrap', [
'as' => 'bootstrap',
'uses' => 'UsersController@getBootstrap'