diff --git a/README.md b/README.md index 0119c7f..24913b3 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ This middleware is implemented using the [`http-proxy`](https://www.npmjs.com/pa - [Next.js API Middlewares Guide](https://nextjs.org/docs/api-routes/api-middlewares) ```typescript -// pages/[...all].ts +// pages/api/[...all].ts ... export default (req: NextApiRequest, res: NextApiResponse) => ( isDevelopment