mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
- fixed file download links when you are using different disk location in filesystems.disks.local.root
This commit is contained in:
@@ -277,7 +277,7 @@ class FileAccessController extends Controller
|
|||||||
"Content-Disposition" => "attachment; filename=" . $file_pretty_name,
|
"Content-Disposition" => "attachment; filename=" . $file_pretty_name,
|
||||||
];
|
];
|
||||||
|
|
||||||
return response()->download(storage_path('/app/file-manager/') . $file->basename, $file_pretty_name, $headers);
|
return response()->download(config('filesystems.disks.local.root') . '/file-manager/' . $file->basename, $file_pretty_name, $headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user