mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add API Management to admin CP
This commit is contained in:
@@ -235,9 +235,12 @@ class AdminRoutes {
|
||||
'as' => 'admin.api.new',
|
||||
'uses' => 'Admin\APIController@getNew'
|
||||
]);
|
||||
$router->post('/new', [
|
||||
'uses' => 'Admin\APIController@postNew'
|
||||
]);
|
||||
$router->delete('/revoke/{key?}', [
|
||||
'as' => 'admin.api.revoke',
|
||||
'uses' => 'Admin\APIController@deleteKey'
|
||||
'uses' => 'Admin\APIController@deleteRevokeKey'
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user