diff --git a/packages/nextjs/app/api/ipfs/upload-image/route.ts b/packages/nextjs/app/api/ipfs/upload-image/route.ts index effc843..1951d67 100644 --- a/packages/nextjs/app/api/ipfs/upload-image/route.ts +++ b/packages/nextjs/app/api/ipfs/upload-image/route.ts @@ -13,7 +13,7 @@ export async function POST(request: NextRequest) { } if (file.size > MAX_FILE_SIZE) { - return new NextResponse(JSON.stringify({ error: "File size exceeds the maximum limit of 2 MB" }), { + return new NextResponse(JSON.stringify({ error: "File size exceeds the maximum limit of 5 MB" }), { status: 400, }); } diff --git a/packages/nextjs/app/create/_components/ImageUploader.tsx b/packages/nextjs/app/create/_components/ImageUploader.tsx index a9061ed..de59358 100644 --- a/packages/nextjs/app/create/_components/ImageUploader.tsx +++ b/packages/nextjs/app/create/_components/ImageUploader.tsx @@ -22,7 +22,7 @@ export const ImageUploader: React.FC = ({ image, setUploaded // Handle file drop or selection const handleFileUpload = async (file: File) => { if (file.size > MAX_FILE_SIZE_MB) { - notification.error("File is too large. Max size is 2 MB."); + notification.error("File is too large. Max size is 5 MB."); return; } diff --git a/packages/nextjs/app/myProfile/_components/ProfilePictureUpload.tsx b/packages/nextjs/app/myProfile/_components/ProfilePictureUpload.tsx index cd15729..051cccd 100644 --- a/packages/nextjs/app/myProfile/_components/ProfilePictureUpload.tsx +++ b/packages/nextjs/app/myProfile/_components/ProfilePictureUpload.tsx @@ -27,7 +27,7 @@ export const ProfilePictureUpload: React.FC = ({ // Handle file drop or selection const handleFileUpload = async (file: File) => { if (file.size > MAX_FILE_SIZE_MB) { - notification.error("File is too large. Max size is 2 MB."); + notification.error("File is too large. Max size is 5 MB."); return; } diff --git a/packages/nextjs/public/favicon.png b/packages/nextjs/public/favicon.png index 4bef7f2..6cd2977 100644 Binary files a/packages/nextjs/public/favicon.png and b/packages/nextjs/public/favicon.png differ