X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/68fa37d61babe8d990ace5f9cb5a7de81eb57ea0..7348f5ea3a1182c9f4a75d05a405e90f9e33797c:/src/file_handler/file_strategies/gemini.rs diff --git a/src/file_handler/file_strategies/gemini.rs b/src/file_handler/file_strategies/gemini.rs index 04e2b6a..1c8a111 100644 --- a/src/file_handler/file_strategies/gemini.rs +++ b/src/file_handler/file_strategies/gemini.rs @@ -75,7 +75,8 @@ impl FileHandlerStrategy for Strategy { let relative_path = file.path.strip_prefix(&source).unwrap(); - let complete_destination = destination.join(relative_path); + let mut complete_destination = destination.join(relative_path); + complete_destination.set_extension("html"); let destination_parent = complete_destination.parent().unwrap(); create_dir_all(destination_parent).unwrap();