diff --git a/fishctl/src/command/config/update/v1.rs b/fishctl/src/command/config/update/v1.rs index 54e2fcf..9b49a47 100644 --- a/fishctl/src/command/config/update/v1.rs +++ b/fishctl/src/command/config/update/v1.rs @@ -394,6 +394,12 @@ fn create_new_server_config( None => None, }; + let summaly_proxy = meta.summaly_proxy.as_ref().map(|url| server::Proxy { + enabled: true, + url: url.to_owned(), + bypass_hosts: None, + }); + let mut server_config = server::Config { config_revision: Revision::V1, server_info: Some(server::ServerInfo { @@ -430,7 +436,7 @@ fn create_new_server_config( }, http_proxy, media_proxy: todo!(), - summaly_proxy: todo!(), + summaly_proxy: summaly_proxy, smtp_proxy: todo!(), }, database: server::Database {