file chunk fix

This commit is contained in:
Čarodej
2022-05-08 10:59:52 +02:00
parent a08cc3172d
commit b8101087a7
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ class StoreFileChunksAction
$file = $request->file('file');
// Get chunk name
$name = Str::uuid() . '.' . $request->input('extension');
$name = $file->getClientOriginalName();
// Get chunk file path
$path = Storage::disk('local')->path("chunks/$name");