mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update: web route
This commit is contained in:
		| @@ -19,7 +19,7 @@ Route::get('/', function (Request $request) { | ||||
|             abort(403); | ||||
|         } | ||||
|     } | ||||
|     return view('theme::v2board.index', [ | ||||
|     $renderParams = [ | ||||
|         'title' => config('v2board.app_name', 'V2Board'), | ||||
|         'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'), | ||||
|         'theme_header' => config('v2board.frontend_theme_header', 'dark'), | ||||
| @@ -28,7 +28,8 @@ Route::get('/', function (Request $request) { | ||||
|         'verison' => config('app.version'), | ||||
|         'description' => config('v2board.app_description', 'V2Board is best'), | ||||
|         'crisp_id' => config('v2board.frontend_customer_service_method') === 'crisp' ? config('v2board.frontend_customer_service_id') : '' | ||||
|     ]); | ||||
|     ]; | ||||
|     return view('theme::v2board.dashboard', $renderParams); | ||||
| }); | ||||
|  | ||||
| Route::get('/' . config('v2board.frontend_admin_path', 'admin'), function () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user