This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
mod file;
|
||||
mod id;
|
||||
mod version;
|
||||
mod file;
|
||||
pub use file::*;
|
||||
pub use id::*;
|
||||
pub use version::*;
|
||||
pub use file::*;
|
||||
|
||||
@@ -64,7 +64,12 @@ impl<T: Topology + HttpServer> Interpret<T> for StaticFilesHttpInterpret {
|
||||
Ok(Outcome::success(format!(
|
||||
"Http Server running and serving files from folder {:?} and content for {}",
|
||||
self.score.folder_to_serve,
|
||||
self.score.files.iter().map(|f| f.path.to_string()).collect::<Vec<String>>().join(",")
|
||||
self.score
|
||||
.files
|
||||
.iter()
|
||||
.map(|f| f.path.to_string())
|
||||
.collect::<Vec<String>>()
|
||||
.join(",")
|
||||
)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user