mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Add commit SHA at status page
This commit is contained in:
parent
cfa552157f
commit
347399c944
@ -376,6 +376,7 @@ class AdminController extends Controller
|
|||||||
'version' => config('app.version'),
|
'version' => config('app.version'),
|
||||||
'env' => config('app.env'),
|
'env' => config('app.env'),
|
||||||
'debug' => config('app.debug') ? trans('general.yes') : trans('general.no'),
|
'debug' => config('app.debug') ? trans('general.yes') : trans('general.no'),
|
||||||
|
'commit' => Str::limit(app('webpack')->commit, 10, ''),
|
||||||
'laravel' => app()->version(),
|
'laravel' => app()->version(),
|
||||||
],
|
],
|
||||||
'server' => [
|
'server' => [
|
||||||
|
@ -92,6 +92,7 @@ status:
|
|||||||
version: Version
|
version: Version
|
||||||
env: Application Environment
|
env: Application Environment
|
||||||
debug: Debugging or Not?
|
debug: Debugging or Not?
|
||||||
|
commit: Commit
|
||||||
laravel: Laravel Version
|
laravel: Laravel Version
|
||||||
server:
|
server:
|
||||||
name: Server
|
name: Server
|
||||||
|
@ -92,6 +92,7 @@ status:
|
|||||||
version: 版本
|
version: 版本
|
||||||
env: 应用环境
|
env: 应用环境
|
||||||
debug: 是否处于调试状态
|
debug: 是否处于调试状态
|
||||||
|
commit: 提交
|
||||||
laravel: Laravel 版本
|
laravel: Laravel 版本
|
||||||
server:
|
server:
|
||||||
name: 服务器
|
name: 服务器
|
||||||
|
Loading…
Reference in New Issue
Block a user