Skip to content

Commit

Permalink
Fixup Search Index Loading
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillspeak committed Jun 25, 2023
1 parent 77a6d07 commit c2a9cba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/search.js
Expand Up @@ -35,7 +35,7 @@ const initialiseSearch = async (rootPath, targetSelector) => {
}
}

const searchIndex = await fetch("./search_index.json")
const searchIndex = await fetch(`${rootPath}search_index.json`)
.then(response => response.json());

const doSearch = query => {
Expand Down

0 comments on commit c2a9cba

Please sign in to comment.