From 7ae02194f4faa364e89b03822bae0204a130eb42 Mon Sep 17 00:00:00 2001 From: Sai-Santhan-Dodda <158819635+Sai-Santhan-Dodda@users.noreply.github.com> Date: Fri, 11 Apr 2025 16:10:56 +0530 Subject: [PATCH] docs: fix path in algolia guide (#12141) Converted "src/api/store/search/route.ts" to "src/api/store/products/search/route.ts" --- www/apps/resources/app/integrations/guides/algolia/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/resources/app/integrations/guides/algolia/page.mdx b/www/apps/resources/app/integrations/guides/algolia/page.mdx index a6a8b7a7b0..b5073c5171 100644 --- a/www/apps/resources/app/integrations/guides/algolia/page.mdx +++ b/www/apps/resources/app/integrations/guides/algolia/page.mdx @@ -1023,9 +1023,9 @@ While you can implement the search functionality directly in the storefront to i -To implement the API Route, create the file `src/api/store/search/route.ts` with the following content: +To implement the API Route, create the file `src/api/store/products/search/route.ts` with the following content: -```ts title="src/api/store/search/route.ts" +```ts title="src/api/store/products/search/route.ts" import { MedusaRequest, MedusaResponse } from "@medusajs/framework/http" import { ALGOLIA_MODULE } from "../../../../modules/algolia" import AlgoliaModuleService from "../../../../modules/algolia/service"