mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
add auto update feature
This commit is contained in:
@ -106,6 +106,8 @@ Route::group(['middleware' => 'redirect-if-installed'], function () {
|
||||
'uses' => 'OnboardingController@companySettings'
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
// App version
|
||||
// ----------------------------------
|
||||
|
||||
@ -120,6 +122,13 @@ Route::group(['middleware' => 'api'], function () {
|
||||
'middleware' => 'admin'
|
||||
], function () {
|
||||
|
||||
// Auto update routes
|
||||
//----------------------------------
|
||||
Route::post('/update', [
|
||||
'as' => 'auto.update',
|
||||
'uses' => 'UpdateController@update'
|
||||
]);
|
||||
|
||||
Route::get('/bootstrap', [
|
||||
'as' => 'bootstrap',
|
||||
'uses' => 'UsersController@getBootstrap'
|
||||
|
||||
Reference in New Issue
Block a user