mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Add underlying code to handle authenticating websocket credentials
This commit is contained in:
@@ -29,6 +29,7 @@ Route::group(['prefix' => '/account'], function () {
|
||||
*/
|
||||
Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServerAccess::class]], function () {
|
||||
Route::get('/', 'Servers\ServerController@index')->name('api.client.servers.view');
|
||||
Route::get('/websocket', 'Servers\WebsocketController')->name('api.client.servers.websocket');
|
||||
Route::get('/resources', 'Servers\ResourceUtilizationController')
|
||||
->name('api.client.servers.resources');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user