Files
payload/packages/plugin-search
Suphon T. 6353cf8bbe fix(plugin-search): gets api route from useConfig (#10632)
This fixes #10631.

Originally the api basepath for the reindex button is resolved during
plugin initialization. Looks like this happens before payload overrides
the config with the `basePath `from the next config.
I've changed it so that it uses the `useConfig` hook, and manually
tested that it works.

![CleanShot 2568-01-17 at 16 03
16@2x](https://github.com/user-attachments/assets/c931577b-2717-4635-b5c6-17aa1b4eb734)
2025-02-03 18:14:21 +00:00
..
2022-02-19 11:02:55 -05:00
2025-01-29 10:41:55 -05:00

Payload Search Plugin

A plugin for Payload to generate records of your documents that are extremely fast to search on.