mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 22:57:47 +08:00
update: remove v2ray viewconfig api
This commit is contained in:
@ -89,13 +89,4 @@ class V2rayController extends Controller
|
||||
'data' => true
|
||||
]);
|
||||
}
|
||||
|
||||
public function viewConfig(Request $request)
|
||||
{
|
||||
$serverService = new ServerService();
|
||||
$config = $serverService->getV2RayConfig($request->input('node_id'), 23333);
|
||||
return response([
|
||||
'data' => $config
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,6 @@ class AdminRoute
|
||||
$router->post('update', 'Admin\\Server\\V2rayController@update');
|
||||
$router->post('copy', 'Admin\\Server\\V2rayController@copy');
|
||||
$router->post('sort', 'Admin\\Server\\V2rayController@sort');
|
||||
$router->post('viewConfig', 'Admin\\Server\\V2rayController@viewConfig');
|
||||
});
|
||||
$router->group([
|
||||
'prefix' => 'server/shadowsocks'
|
||||
|
Reference in New Issue
Block a user