feat: default web.https config
This commit is contained in:
1 parent
d83b00ff0f
commit
b47e4fedcc
1 file changed
+2
-1
@@ -107,6 +107,7 @@ pub struct WebConfig {
|
|||||||
pub proxy: Option<Vec<WebProxyConfig>>,
|
pub proxy: Option<Vec<WebProxyConfig>>,
|
||||||
pub watcher: WebWatcherConfig,
|
pub watcher: WebWatcherConfig,
|
||||||
pub resource: WebResourceConfig,
|
pub resource: WebResourceConfig,
|
||||||
|
#[serde(default)]
|
||||||
pub https: WebHttpsConfig,
|
pub https: WebHttpsConfig,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -141,7 +142,7 @@ pub struct WebDevResourceConfig {
|
|||||||
pub script: Option<Vec<PathBuf>>,
|
pub script: Option<Vec<PathBuf>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
|
||||||
pub struct WebHttpsConfig {
|
pub struct WebHttpsConfig {
|
||||||
pub enabled: Option<bool>,
|
pub enabled: Option<bool>,
|
||||||
pub mkcert: Option<bool>,
|
pub mkcert: Option<bool>,
|
||||||
|
|||||||
Reference in new issue
Block a user