small fix
This commit is contained in:
@@ -166,7 +166,7 @@ class PostForm
|
|||||||
->reorderable()
|
->reorderable()
|
||||||
->panelLayout('grid')
|
->panelLayout('grid')
|
||||||
->helperText('Загрузите дополнительные изображения для галереи')
|
->helperText('Загрузите дополнительные изображения для галереи')
|
||||||
->maxFiles(10)
|
->maxFiles(200)
|
||||||
->maxSize(20480)
|
->maxSize(20480)
|
||||||
->acceptedFileTypes(['image/jpeg', 'image/png'])
|
->acceptedFileTypes(['image/jpeg', 'image/png'])
|
||||||
->imagePreviewHeight('150'),
|
->imagePreviewHeight('150'),
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ class CreatePost extends CreateRecord
|
|||||||
$this->createSeo($this->record);
|
$this->createSeo($this->record);
|
||||||
$this->sendNotifications();
|
$this->sendNotifications();
|
||||||
$this->publishToVk();
|
$this->publishToVk();
|
||||||
$this->publishToTg();
|
// $this->publishToTg();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function handleSlides(): void
|
protected function handleSlides(): void
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class TrustProxies extends AbstractMiddleware
|
|||||||
*
|
*
|
||||||
* @var array<int, string>|string|null
|
* @var array<int, string>|string|null
|
||||||
*/
|
*/
|
||||||
protected $proxies;
|
protected $proxies = '*';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The headers that should be used to detect proxies.
|
* The headers that should be used to detect proxies.
|
||||||
|
|||||||
Reference in New Issue
Block a user