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

@@ -1,7 +1,7 @@
<?php
return [
'version' => '1.0.0',
'version' => '1.0.1',
'is_demo' => env('APP_DEMO', false),

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");