Make server directory option optional

This commit is contained in:
timvisee
2021-11-08 19:10:21 +01:00
parent db0552f2e5
commit a5fbdc8d30
2 changed files with 4 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ pub struct Public {
#[derive(Debug, Deserialize)]
pub struct Server {
/// Server directory.
pub directory: PathBuf,
pub directory: Option<PathBuf>,
/// Start command.
pub command: String,