Skip to content

Commit

Permalink
fix: 🐛 trying to fix ut callback failling
Browse files Browse the repository at this point in the history
  • Loading branch information
moinulmoin committed Jul 11, 2024
1 parent 52f3683 commit 5c5b92b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/api/uploadthing/route.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { createRouteHandler } from "uploadthing/next";

import { ourFileRouter } from "./core";

export const runtime = "nodejs";

// Export routes for Next App Router
export const { GET, POST } = createRouteHandler({
router: ourFileRouter,
Expand Down

0 comments on commit 5c5b92b

Please sign in to comment.