Auto update #449 (#545)

* Add custom repository type for updates

* Direct to self update module

* Formatting
This commit is contained in:
Nabeel S
2020-02-10 17:47:46 -05:00
committed by GitHub
parent 3fcd378f91
commit 99118daad9
14 changed files with 281 additions and 49 deletions

View File

@@ -33,6 +33,10 @@ class UpdateServiceProvider extends ServiceProvider
Route::post('/run-migrations', 'UpdateController@run_migrations')->name('run_migrations');
Route::get('/complete', 'UpdateController@complete')->name('complete');
// Routes for the update downloader
Route::get('/downloader', 'UpdateController@updater')->name('updater');
Route::post('/downloader', 'UpdateController@update_download')->name('update_download');
});
}