mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge b1ba32ba3a
into c5dd942f3d
This commit is contained in:
commit
0ab9c80a20
|
@ -17,9 +17,9 @@ class ActionlogController extends Controller
|
|||
error_reporting(0);
|
||||
|
||||
$disk = config('filesystems.default');
|
||||
switch (config("filesystems.disks.$disk.driver")) {
|
||||
switch ($disk) {
|
||||
|
||||
case 's3':
|
||||
case 's3_private':
|
||||
$file = 'private_uploads/signatures/'.$filename;
|
||||
return redirect()->away(Storage::disk($disk)->temporaryUrl($file, now()->addMinutes(5)));
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue