Add option to disable frontend

This commit is contained in:
Lennart
2025-01-19 12:28:17 +01:00
parent 6485b89c73
commit cde1b8f51f
5 changed files with 27 additions and 15 deletions

View File

@@ -47,7 +47,7 @@ pub struct TracingConfig {
#[derive(Debug, Deserialize, Serialize)]
#[serde(deny_unknown_fields, default)]
pub struct DavPushConfig {
pub enable: bool,
pub enabled: bool,
#[serde(default)]
// Allowed Push servers, accepts any by default
// Specify as URL origins
@@ -57,7 +57,7 @@ pub struct DavPushConfig {
impl Default for DavPushConfig {
fn default() -> Self {
Self {
enable: true,
enabled: true,
allowed_push_servers: None,
}
}