6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
import { createRouteHandler } from "uploadthing/next";
|
|
import { ourFileRouter } from "./core";
|
|
|
|
export const { GET, POST } = createRouteHandler({
|
|
router: ourFileRouter,
|
|
});
|