From b4fc90c13348a6f0f5477b65056f5fa134ebf8f9 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 20 Jan 2020 16:18:12 +0800 Subject: [PATCH] update --- resources/views/app.blade.php | 3 ++- routes/web.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php index e2ceb250..578888aa 100755 --- a/resources/views/app.blade.php +++ b/resources/views/app.blade.php @@ -14,7 +14,8 @@ window.v2board = { title: '{{$title}}', theme: '{{$theme}}', - verison: '{{$verison}}' + verison: '{{$verison}}', + background_url: '{{$backgroun_url}}' } diff --git a/routes/web.php b/routes/web.php index a5825c3a..16cbfd14 100755 --- a/routes/web.php +++ b/routes/web.php @@ -21,7 +21,8 @@ Route::get('/', function (Request $request) { } return view('app', [ 'title' => config('v2board.app_name', 'V2Board'), - 'theme' => config('v2board.app_theme', 1), + 'theme' => config('v2board.frontend_theme', 1), + 'backgroun_url' => config('v2board.frontend_url'), 'verison' => '1.0.2.3' ]); });