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

9 lines
215 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 dynamic = "force-dynamic";
2024-06-20 19:46:48 +02:00
export const { GET, POST } = createRouteHandler({
2024-08-27 13:15:36 +02:00
router: ourFileRouter,
2024-06-20 19:46:48 +02:00
});