Files
LarsandCursor 12f12117dd
Deploy Test / test (push) Successful in 16s
Deploy Test / deploy (push) Successful in 27s
Hebe die Livewire-Prüfung für große Filme auf 2 GB.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 11:09:01 +01:00

17 lines
273 B
PHP

<?php
namespace App\Filament\Support;
class MediaUploadLimit
{
public const KILOBYTES = 2 * 1024 * 1024;
/**
* @return list<string>
*/
public static function rules(): array
{
return ['required', 'file', 'max:'.self::KILOBYTES];
}
}