From bd73c3f03a73850d95dd1c54537b6682da6b10c7 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Sat, 22 Jan 2022 00:08:01 +0800 Subject: [PATCH] update: fix word --- public/theme/v2board/dashboard.blade.php | 10 +++++----- routes/web.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/theme/v2board/dashboard.blade.php b/public/theme/v2board/dashboard.blade.php index 5ee1fd38..89f8eb77 100755 --- a/public/theme/v2board/dashboard.blade.php +++ b/public/theme/v2board/dashboard.blade.php @@ -2,10 +2,10 @@ - - + + @if (file_exists(public_path("/theme/{$theme}/assets/custom.css"))) - + @endif @@ -28,8 +28,8 @@ header: '{{$theme_header}}', color: '{{$theme_color}}', }, - verison: '{{$verison}}', - background_url: '{{$backgroun_url}}', + version: '{{$version}}', + background_url: '{{$background_url}}', description: '{{$description}}', crisp_id: '{{$crisp_id}}' } diff --git a/routes/web.php b/routes/web.php index c1dc62f0..c477de6b 100755 --- a/routes/web.php +++ b/routes/web.php @@ -25,8 +25,8 @@ Route::get('/', function (Request $request) { 'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'), 'theme_header' => config('v2board.frontend_theme_header', 'dark'), 'theme_color' => config('v2board.frontend_theme_color', 'default'), - 'backgroun_url' => config('v2board.frontend_background_url'), - 'verison' => config('app.version'), + 'background_url' => config('v2board.frontend_background_url'), + 'version' => 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') : '' ];