catch any name to index api for notion

This commit is contained in:
myl7
2022-01-24 17:18:21 +08:00
parent fad501a562
commit b63b374666
+6
View File
@@ -0,0 +1,6 @@
import type { NextApiRequest, NextApiResponse } from 'next'
import { default as indexHandler } from '..'
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
indexHandler(req, res)
}