-1
I’m really not understanding, the links work the files exist but it gives a Filenotfoundexception when I try to download using the Internet with vuejs
File not found at path: C:/Users/g****/Documents/GitHub/*****/storage/app/public/covers/mtiCIcZTDyu945s1c2JJuZ5xF9SvHAtTegfJJF7d.xlsx
php:
$file2 = Documentos::where('processo_id', '=', $id)->first()->path;
return Storage::download(storage_path('app/public/'.$file2,'public'));
vuejs:
<inertia-link
:href="route('download', { id: doc.processo_id })"
class="text-gray-900"
>Baixar
</inertia-link>
I already checked the path and if file exists:
I don’t know what else to do Someone can give me light?
The archive
mtiCIcZTDyu945s1c2JJuZ5xF9SvHAtTegfJJF7d.xlsx
does not exist in your folder, see image.– Woss
it exists only q I took the wrong print F
– Gabriel Teixeira
Then it gets complicated, right...
– Woss
kkk dsclp men are there
– Gabriel Teixeira