8 lines
215 B
TypeScript
8 lines
215 B
TypeScript
import { createRouteHandler } from "uploadthing/next";
|
|
import { ourFileRouter } from "./core";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export const { GET, POST } = createRouteHandler({
|
|
router: ourFileRouter
|
|
});
|