Skip to content

Commit

Permalink
Update search-api.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
jouwdan authored Apr 23, 2024
1 parent e084a38 commit 308b603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/content/guides/search-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We recommend using an [API route](https://nextjs.org/docs/api-routes/introductio

1. Create the following API route.

```ts title=api/pages/search/[index].tsx
```ts title=pages/api/search/[index].tsx
import { NextApiRequest, NextApiResponse } from "next"
import { DrupalNode } from "next-drupal"

Expand Down

0 comments on commit 308b603

Please sign in to comment.