diff --git a/src/main.rs b/src/main.rs index 14164b1..6840c2c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -168,7 +168,6 @@ async fn render( // Redirect to ".md" version if requested path matches a .md file without the extension if !full_path.exists() - && full_path.extension().is_none() && Path::new(&format!("{}.md", full_path.to_str().unwrap())).exists() { return Ok(HttpResponse::Found()