mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Make server listing and single server view API endpoints work
This commit is contained in:
@@ -11,12 +11,12 @@ Route::get('/', 'BaseController@index')->name('admin.index');
|
||||
|
|
||||
*/
|
||||
Route::group(['prefix' => 'api'], function () {
|
||||
Route::get('/', 'ApplicationApiController@index')->name('admin.api.index');
|
||||
Route::get('/new', 'ApplicationApiController@create')->name('admin.api.new');
|
||||
Route::get('/', 'ApiController@index')->name('admin.api.index');
|
||||
Route::get('/new', 'ApiController@create')->name('admin.api.new');
|
||||
|
||||
Route::post('/new', 'ApplicationApiController@store');
|
||||
Route::post('/new', 'ApiController@store');
|
||||
|
||||
Route::delete('/revoke/{identifier}', 'ApplicationApiController@delete')->name('admin.api.delete');
|
||||
Route::delete('/revoke/{identifier}', 'ApiController@delete')->name('admin.api.delete');
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user