Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: remove unused api route
Marc Seitz1dd338d16f73
diff --git a/pages/api/file/upload.ts b/pages/api/file/upload.tsdeleted file mode 100644index 8922f898..00000000--- a/pages/api/file/upload.ts+++ /dev/null@@ -1,23 +0,0 @@-import { NextRequest, NextResponse } from "next/server";--import { put } from "@vercel/blob";--export const config = {- runtime: "edge",-};--export default async function upload(request: NextRequest) {- const form = await request.formData();- const file = form.get("file") as File;-- if (!file) {- return NextResponse.json(- { error: "File name or file not submitted" },- { status: 400 },- );- }-- const blob = await put(file.name, file, { access: "public" });-- return NextResponse.json(blob);-}