this should fix file paths in directory listings not working
---
src/main.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
index a32ebf2..3488217 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -99,7 +99,7 @@ async fn get_content(path: PathBuf, u: url::Url) -> Result<String, io::Error> {
if m.is_dir() {
dirs.push(format!("=> {}/ {}/\r\n", ep, p.display()));
} else {
- files.push(format!("=> {}/ {}\r\n", ep, p.display()));
+ files.push(format!("=> {} {}\r\n", ep, p.display()));
}
}
}
--
2.25.1