mirror of https://github.com/Tim-Paik/neutauri.git
Added manifest option
This commit is contained in:
parent
b7408124e6
commit
dd6cd6b85e
|
@ -67,6 +67,7 @@ pub struct Config {
|
|||
pub url: Option<String>,
|
||||
pub html: Option<PathBuf>,
|
||||
pub initialization_script: Option<PathBuf>,
|
||||
pub manifest: Option<PathBuf>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
||||
|
@ -249,6 +250,7 @@ impl Default for Config {
|
|||
url: Some("/index.html".into()),
|
||||
html: None,
|
||||
initialization_script: None,
|
||||
manifest: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,6 +67,7 @@ pub struct Config {
|
|||
pub url: Option<String>,
|
||||
pub html: Option<PathBuf>,
|
||||
pub initialization_script: Option<String>,
|
||||
pub manifest: Option<PathBuf>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
|
||||
|
@ -216,7 +217,8 @@ impl Default for Config {
|
|||
spa: false,
|
||||
url: Some("/index.html".into()),
|
||||
html: None,
|
||||
initialization_script: Some("".into()),
|
||||
initialization_script: None,
|
||||
manifest: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue