Skip to content

Commit 34f3204

Browse files
authored
Merge pull request #46 from abhinavkumar940/patch-1
Fix middleware path in README example
2 parents 4dfde8a + 92ceafd commit 34f3204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This middleware is implemented using the [`http-proxy`](https://www.npmjs.com/pa
3838
- [Next.js API Middlewares Guide](https://nextjs.org/docs/api-routes/api-middlewares)
3939

4040
```typescript
41-
// pages/[...all].ts
41+
// pages/api/[...all].ts
4242
...
4343
export default (req: NextApiRequest, res: NextApiResponse) => (
4444
isDevelopment

0 commit comments

Comments
 (0)