WIP: implement public file visibility feature and enhance search functionality

This commit is contained in:
2025-05-09 10:51:48 +02:00
parent 792b0eb275
commit 99397e774c
10 changed files with 254 additions and 33 deletions
+1
View File
@@ -32,6 +32,7 @@ export async function GET(req: Request) {
type: file.extension,
url: file.url,
description: file.description,
isPublic: file.public, // Ensure this is included
});
} catch (error) {
console.error("Error fetching file details:", error);