mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-25 09:43:44 +02:00
add ability to generate a token to retrieve the config for a specific node
This commit is contained in:
@@ -46,6 +46,11 @@ class RemoteRoutes
|
||||
'as' => 'remote.event',
|
||||
'uses' => 'Remote\RemoteController@event',
|
||||
]);
|
||||
|
||||
$router->get('configuration/{token}', [
|
||||
'as' => 'remote.configuration',
|
||||
'uses' => 'Remote\RemoteController@getConfiguration',
|
||||
]);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user