mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 06:24:44 +02:00
Set better default
This commit is contained in:
parent
e276a07f1b
commit
6e4f3f7191
@ -91,7 +91,7 @@ class CreateNode extends CreateRecord
|
||||
'http' => 'tabler-lock-open-off',
|
||||
'https' => 'tabler-lock',
|
||||
])
|
||||
->default('http'),
|
||||
->default(fn () => request()->isSecure() ? 'https' : 'http'),
|
||||
Forms\Components\TextInput::make('name')
|
||||
->required()
|
||||
->columnSpanFull()
|
||||
|
Loading…
x
Reference in New Issue
Block a user