catch any name to index api for notion
This commit is contained in:
parent
fad501a562
commit
b63b374666
6
pages/api/name/[name].ts
Normal file
6
pages/api/name/[name].ts
Normal 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)
|
||||
}
|
Loading…
Reference in a new issue