I have a frontend app using Elasticsearch UI, React, NextJS, and with a custom connector. Originally I had the search page on the root '/' and now I have a task to make a '/search' route instead.
Is there a way to provide a param or something to the config or connector to have it listen to the URL and trigger the search on '/search' instead of '/'?
I got this to work with jsut using router.push but we have an image upload search as well that doesnt store the image anywhere so it will only run successfully on the first render/search. So the router.push is causing a rerender or refresh or something that is making it lose the image data and not successfully make the search.
I hope this is clear and if not I'm happy to add any additional information.
Thank you!