preparing admin route for db backup

This commit is contained in:
Torsten 2024-03-20 11:06:19 +01:00
parent 950fbe1755
commit 883897ec3c
3 changed files with 516 additions and 0 deletions

View file

@ -102,5 +102,7 @@ Route::post('/league/swap','Leagues\LeaguesController@swapLeagueMembers');
Route::get('/league/showSingleUserMatches/user_id={userId}','Leagues\LeaguesController@showSingleUserMatches');
Route::get('/backup', function() {return view('admin.test');} );
/* Cache clearing on remote server */
Route::get('/clear-cache', function() { Artisan::call('cache:clear');Artisan::call('config:clear'); return "Cache cleared, Config reloaded"; });