story-research-zapwall/pages/api/nip95-upload.ts
2026-01-13 17:23:28 +01:00

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)
}