From 308b603b8bfde286a3c128e9c2c658d6f0c6102b Mon Sep 17 00:00:00 2001 From: Jordan Harrison Date: Tue, 23 Apr 2024 21:19:45 +0100 Subject: [PATCH] Update search-api.mdx --- www/content/guides/search-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/guides/search-api.mdx b/www/content/guides/search-api.mdx index 4079221d..637f4a24 100644 --- a/www/content/guides/search-api.mdx +++ b/www/content/guides/search-api.mdx @@ -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"