change file limitation logic
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-05-01 11:46:47 +03:30
parent 8475ccf873
commit edc7f1955e
7 changed files with 96 additions and 6 deletions

9
config/chat.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
return [
'attachments' => [
'max_files' => (int) env('CHAT_ATTACHMENT_MAX_FILES', 5),
'max_file_size_kilobytes' => (int) env('CHAT_ATTACHMENT_MAX_FILE_SIZE_KB', 2 * 1024 * 1024),
'livewire_max_upload_time' => (int) env('CHAT_LIVEWIRE_MAX_UPLOAD_TIME', 60),
],
];