diff --git a/app/Support/ShortFileNamer.php b/app/Support/ShortFileNamer.php new file mode 100644 index 0000000..0569a89 --- /dev/null +++ b/app/Support/ShortFileNamer.php @@ -0,0 +1,30 @@ + Spatie\MediaLibrary\Support\FileNamer\DefaultFileNamer::class, + 'file_namer' => App\Support\ShortFileNamer::class, /* * The class that contains the strategy for determining a media file's path.