Updated lock and fixed dir list
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user