Disable /update/ routes

This commit is contained in:
FreeScout
2026-07-25 00:30:28 -07:00
parent acdc9ef5b5
commit 2ee52deaa1
2 changed files with 4 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ class FinalController extends Controller
}
$finalMessages = $finalInstall->runFinal();
// Create /storage/.installed file.
$finalStatusMessage = $fileManager->update();
$finalEnvFile = $environment->getEnvContent();

View File

@@ -58,7 +58,8 @@ Route::group(['prefix' => $prefix.'install','as' => 'LaravelInstaller::','namesp
});
Route::group(['prefix' => $prefix.'update','as' => 'LaravelUpdater::','namespace' => 'RachidLaasri\LaravelInstaller\Controllers','middleware' => 'web'],function() {
// Not used.
/*Route::group(['prefix' => $prefix.'update','as' => 'LaravelUpdater::','namespace' => 'RachidLaasri\LaravelInstaller\Controllers','middleware' => 'web'],function() {
Route::group(['middleware' => 'update'], function() {
Route::get('/', [
@@ -83,4 +84,4 @@ Route::group(['prefix' => $prefix.'update','as' => 'LaravelUpdater::','namespace
'as' => 'final',
'uses' => 'UpdateController@finish'
]);
});
});*/