mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 21:28:27 +08:00
feature: add custom admin path
This commit is contained in:
@ -95,7 +95,8 @@ class ConfigController extends Controller
|
||||
'frontend_theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
|
||||
'frontend_theme_header' => config('v2board.frontend_theme_header', 'dark'),
|
||||
'frontend_theme_color' => config('v2board.frontend_theme_color', 'default'),
|
||||
'frontend_background_url' => config('v2board.frontend_background_url')
|
||||
'frontend_background_url' => config('v2board.frontend_background_url'),
|
||||
'frontend_admin_path' => config('v2board.frontend_admin_path', 'admin')
|
||||
],
|
||||
'server' => [
|
||||
'server_token' => config('v2board.server_token'),
|
||||
|
@ -70,6 +70,7 @@ class ConfigSave extends FormRequest
|
||||
'frontend_theme_header' => 'in:dark,light',
|
||||
'frontend_theme_color' => 'in:default,darkblue,black',
|
||||
'frontend_background_url' => 'nullable|url',
|
||||
'frontend_admin_path' => '',
|
||||
// tutorial
|
||||
'apple_id' => 'email',
|
||||
'apple_id_password' => '',
|
||||
|
Reference in New Issue
Block a user