svrjs-nextjs-website/app/api/uploadthing/route.ts

7 lines
175 B
TypeScript
Raw Normal View History

2024-06-20 19:46:48 +02:00
import { createRouteHandler } from "uploadthing/next";
import { ourFileRouter } from "./core";
export const { GET, POST } = createRouteHandler({
router: ourFileRouter,
});