Skip to content

Commit

Permalink
Fix multi-ligual json index
Browse files Browse the repository at this point in the history
  • Loading branch information
Jieiku committed Apr 27, 2023
1 parent c48b61a commit 7af04b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/site/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ impl Site {

fn index_for_lang(&self, lang: &str) -> Result<()> {
let index_json = search::build_index(
&self.config.default_language,
lang,
&self.library.read().unwrap(),
&self.config,
)?;
Expand Down

0 comments on commit 7af04b2

Please sign in to comment.