path con aggiunta dello storage_path

This commit is contained in:
Amministratore 2025-10-21 18:27:13 +02:00
parent b91a348042
commit 984cee06f7

View File

@ -38,7 +38,7 @@ class GenDocController extends Controller
public function downloadFile(Request $request){
$doc = Gendoc::find($request->id);
// dd($doc->filename);
return response()->download($doc->filename);
return response()->download(storage_path($doc->filename));
}
}