fix: usar disco uploads en public/ para compatibilidad con cPanel sin symlinks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 13:39:19 -06:00
parent 14048989a2
commit 9e8df4f7ee
5 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class ChatController extends Controller
if ($request->hasFile('attachment')) {
$file = $request->file('attachment');
$attachment = $file->store('chat', 'public');
$attachment = $file->store('chat', 'uploads');
$mime = $file->getMimeType();
if (str_starts_with($mime, 'image')) $attachmentType = 'image';