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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user