update: remove v2ray viewconfig api

This commit is contained in:
tokumeikoi 2022-06-12 23:20:24 +08:00
parent a0b14029cd
commit fb48e1a721
4 changed files with 2 additions and 12 deletions

View File

@ -89,13 +89,4 @@ class V2rayController extends Controller
'data' => true 'data' => true
]); ]);
} }
public function viewConfig(Request $request)
{
$serverService = new ServerService();
$config = $serverService->getV2RayConfig($request->input('node_id'), 23333);
return response([
'data' => $config
]);
}
} }

View File

@ -50,7 +50,6 @@ class AdminRoute
$router->post('update', 'Admin\\Server\\V2rayController@update'); $router->post('update', 'Admin\\Server\\V2rayController@update');
$router->post('copy', 'Admin\\Server\\V2rayController@copy'); $router->post('copy', 'Admin\\Server\\V2rayController@copy');
$router->post('sort', 'Admin\\Server\\V2rayController@sort'); $router->post('sort', 'Admin\\Server\\V2rayController@sort');
$router->post('viewConfig', 'Admin\\Server\\V2rayController@viewConfig');
}); });
$router->group([ $router->group([
'prefix' => 'server/shadowsocks' 'prefix' => 'server/shadowsocks'

View File

@ -237,5 +237,5 @@ return [
| The only modification by laravel config | The only modification by laravel config
| |
*/ */
'version' => '1.6.0' 'version' => '1.6.1.1655047025285'
]; ];

File diff suppressed because one or more lines are too long