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'),
|
||||
'env' => config('app.env'),
|
||||
'debug' => config('app.debug') ? trans('general.yes') : trans('general.no'),
|
||||
'commit' => Str::limit(app('webpack')->commit, 10, ''),
|
||||
'laravel' => app()->version(),
|
||||
],
|
||||
'server' => [
|
||||
|
@ -92,6 +92,7 @@ status:
|
||||
version: Version
|
||||
env: Application Environment
|
||||
debug: Debugging or Not?
|
||||
commit: Commit
|
||||
laravel: Laravel Version
|
||||
server:
|
||||
name: Server
|
||||
|
@ -92,6 +92,7 @@ status:
|
||||
version: 版本
|
||||
env: 应用环境
|
||||
debug: 是否处于调试状态
|
||||
commit: 提交
|
||||
laravel: Laravel 版本
|
||||
server:
|
||||
name: 服务器
|
||||
|
Loading…
Reference in New Issue
Block a user