mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: remove v2ray viewconfig api
This commit is contained in:
		| @@ -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 |  | ||||||
|         ]); |  | ||||||
|     } |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -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' | ||||||
|   | |||||||
| @@ -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' | ||||||
| ]; | ]; | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								public/assets/admin/umi.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/assets/admin/umi.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user