diff --git a/src/app/api/upload/route.ts b/src/app/api/upload/route.ts index dec55ef..5391fa9 100644 --- a/src/app/api/upload/route.ts +++ b/src/app/api/upload/route.ts @@ -68,7 +68,7 @@ export async function POST(req: Request) { // Save file metadata to the database const newFile = await db.file.create({ data: { - url: `${pagePath}/share?file=${fileName}`, + url: `${pagePath}/share?id=${fileName}`, name: fileName, size: fileBuffer.length, extension: path.extname(fileName), diff --git a/uploads/Szymanoch-Toyota.zip b/uploads/Szymanoch-Toyota.zip deleted file mode 100644 index 39156f2..0000000 Binary files a/uploads/Szymanoch-Toyota.zip and /dev/null differ