// src/app/api/uploadthing/core.ts

import { createRouteHandler } from "uploadthing/next";
import { ourFileRouter } from "@/lib/upload";

export const { GET, POST } = createRouteHandler({
  router: ourFileRouter,
});
