mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 22:44:46 +02:00
This is supposed to be sent, but isn’t because it’s disabled, even though it’s dehydrated
This commit is contained in:
parent
eda3959748
commit
dc794c64ce
@ -69,15 +69,15 @@ class CreateNode extends CreateRecord
|
|||||||
|
|
||||||
return '';
|
return '';
|
||||||
})
|
})
|
||||||
->disabled(function (Forms\Get $get, Forms\Set $set) {
|
// ->disabled(function (Forms\Get $get, Forms\Set $set) {
|
||||||
if (request()->isSecure()) {
|
// if (request()->isSecure()) {
|
||||||
$set('scheme', 'https');
|
// $set('scheme', 'https');
|
||||||
|
//
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
return false;
|
// return false;
|
||||||
})
|
// })
|
||||||
->options([
|
->options([
|
||||||
'http' => 'HTTP',
|
'http' => 'HTTP',
|
||||||
'https' => 'HTTPS (SSL)',
|
'https' => 'HTTPS (SSL)',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user