Skip to content

Fix loading of web page. #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jpountz
Copy link
Collaborator

@jpountz jpountz commented Apr 29, 2025

The web page would initially not load properly due to some null/undefined mismatch. I'm not too familiar with the subtleties of null vs. undefined so feel free to point me to a better fix if necessary.

The web page would initially not load properly due to some null/undefined
mismatch. I'm not too familiar with the subtleties of null vs. undefined so
feel free to point me to a better fix if necessary.
jpountz added a commit to jpountz/tantivy-search.github.io that referenced this pull request Apr 29, 2025
This updates the website to work with the new format of the results.json file,
and includes quickwit-oss/search-benchmark-game#67 as
well.
@jpountz
Copy link
Collaborator Author

jpountz commented May 1, 2025

I pushed one more commit so that the site can be served from "/" or "/bench" without having to be rebuilt, following the recommendation at https://create-react-app.dev/docs/deployment/#serving-the-same-build-from-different-paths to configure homepage: . in package.json.

jpountz added a commit to jpountz/tantivy-search.github.io that referenced this pull request May 1, 2025
This applies the commit from
quickwit-oss/search-benchmark-game#67 that configures
`homepage: .` in `package.json` so that the same site can be served from `/`
(e.g. when running `make serve` in `search-benchmark-game`) or from `/bench`
(public results of the benchmark).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant