Skip to content

Commit

Permalink
Use the correct file path
Browse files Browse the repository at this point in the history
  • Loading branch information
fenjalien committed Apr 14, 2024
1 parent 5b08576 commit 77a7ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl<'a> Config<'a> {
};

if let Some(html_config) = config.html_config() {
cfg.url = html_config.site_url.unwrap_or_default() + &cfg.src;
cfg.url = html_config.site_url.unwrap_or_default() + &cfg.cache;
}

if !Path::new(&cfg.cache).exists() {
Expand Down

0 comments on commit 77a7ca8

Please sign in to comment.