mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update: web route
This commit is contained in:
parent
0ce3948c12
commit
6a336d4253
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user