11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import type { NextApiRequest, NextApiResponse } from 'next'
|
|
import { nip95UploadHandler } from '@/lib/api/nip95-upload'
|
|
|
|
export const config = {
|
|
api: { bodyParser: false },
|
|
}
|
|
|
|
export default async function handler(req: NextApiRequest, res: NextApiResponse): Promise<void> {
|
|
return nip95UploadHandler(req, res)
|
|
}
|