Looking at it further, the path is actually computed correctly, and is relative. However, trying to fetch the search index is running into a CORS limitation:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///Users/eskwayrd/repos/fixes/build/faunadb_docs/search_index-current.json. (Reason: CORS request not http).
Do you have a workaround for that?
fetchAPI, with a fallback to