feat: Implement file upload structure and API for file retrieval

This commit is contained in:
2025-09-16 11:27:25 +02:00
parent e5955a31fd
commit 06599c844a
9 changed files with 76 additions and 1 deletions

View File

@@ -149,7 +149,7 @@ export default function FileAttachmentsList({ entityType, entityId, onFilesChang
</div>
<div className="flex items-center gap-2 ml-3">
<a
href={file.file_path}
href={`/api/files/${file.file_id}`}
target="_blank"
rel="noopener noreferrer"
className="text-blue-600 hover:text-blue-800"