This works great for me locally. When I export the site, it is just showing “loading” under the search. A warning is displaying “Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///index.json. (Reason: CORS request not HTTP).”
I am still just getting started with Hugo. I think it has to do with the url it’s fetching it from, but I am not too sure where in the script it is calling the file up. Any guidance would be helpful.