WIP
This commit is contained in:
parent
770b488a91
commit
97a7db1373
1 changed files with 7 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue