media-uploadthing-api

PreviousNext
Docs
platefile

Preview

Loading preview…
registry/app/api/uploadthing/route.ts
import { createRouteHandler } from 'uploadthing/next';

import { ourFileRouter } from '@/registry/lib/uploadthing';

export const { GET, POST } = createRouteHandler({ router: ourFileRouter });

Installation

npx shadcn@latest add @plate/media-uploadthing-api

Usage

Usage varies by registry entry. Refer to the registry docs or source files below for details.