This commit is contained in:
root 2020-01-20 16:18:12 +08:00
parent 12278e143e
commit b4fc90c133
2 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,8 @@
window.v2board = { window.v2board = {
title: '{{$title}}', title: '{{$title}}',
theme: '{{$theme}}', theme: '{{$theme}}',
verison: '{{$verison}}' verison: '{{$verison}}',
background_url: '{{$backgroun_url}}'
} }
</script> </script>
</head> </head>

View File

@ -21,7 +21,8 @@ Route::get('/', function (Request $request) {
} }
return view('app', [ return view('app', [
'title' => config('v2board.app_name', 'V2Board'), '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' 'verison' => '1.0.2.3'
]); ]);
}); });