Open TiesTheunissen opened 4 months ago
Hello,
This package relies on pionl/laravel-chunk-upload, so maybe can you solve your problem by setting this package's configuration according to your needs.
The code where this configuration is used looks like:
\Storage::disk(config('chunk-upload.storage.disk'))->path($filePath);
And the configuration itself is:
<?php
/**
* @see https://github.com/pionl/laravel-chunk-upload
*/
return [
/*
* The storage config
*/
'storage' => [
/*
* Returns the folder name of the chunks. The location is in storage/app/{folder_name}
*/
'chunks' => 'chunks',
'disk' => 'local',
],
// ...
];
So, if you define a new disk in your filesystems configuration, you may be able to do what you're intending to do :)
Jeremy
i would like to add in the config destination_path options