2024-06-20 19:46:48 +02:00
|
|
|
import { createRouteHandler } from "uploadthing/next";
|
|
|
|
import { ourFileRouter } from "./core";
|
|
|
|
|
2024-06-22 11:57:32 +02:00
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
|
2024-06-20 19:46:48 +02:00
|
|
|
export const { GET, POST } = createRouteHandler({
|
2024-09-07 09:12:48 +02:00
|
|
|
router: ourFileRouter
|
2024-06-20 19:46:48 +02:00
|
|
|
});
|