docs: fix path in algolia guide (#12141)
Converted "src/api/store/search/route.ts" to "src/api/store/products/search/route.ts"
This commit is contained in:
committed by
GitHub
parent
4283fa37b7
commit
7ae02194f4
@@ -1023,9 +1023,9 @@ While you can implement the search functionality directly in the storefront to i
|
||||
|
||||
</Note>
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user