modified: .gitignore

modified:   Dockerfile
modified:   docker-compose.yml
modified:   src/app/share/page.tsx
This commit is contained in:
2025-04-14 15:46:17 +02:00
parent 089f80cb00
commit b5dc5eea1f
4 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ function UploadsPage() {
const handleDownload = async () => {
try {
const response = await fetch(`/api/files/download?fileId=${encodeURIComponent(fileId ?? "")}`);
const response = await fetch(`/api/files/download?fileId=${encodeURIComponent(fileDetails?.name ?? "")}`); // Use optional chaining
if (!response.ok) {
throw new Error("Failed to download file");
}