X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/7235e9b1b7ad396e68d2657c58aeb1d9147047c4..0e3bcda2ce1ba4bff5d457e48a82db6e6289aad6:/src/file_handler/file_strategies/gemini.rs?ds=sidebyside 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();