Local API for communities
This commit is contained in:
parent
1f878b9314
commit
b6fac5fa33
7 changed files with 74 additions and 32 deletions
|
|
@ -465,7 +465,7 @@ pub async fn start(port: u16) -> bool {
|
|||
|
||||
match tls_result {
|
||||
Ok(Some(tls_config)) => run_tls_server(port, tls_config).await,
|
||||
Ok(None) => run_http_server(port).await,
|
||||
Ok(_) => run_http_server(port).await,
|
||||
Err(e) => {
|
||||
log_message(format!("Fatal error during TLS config load: {}", e));
|
||||
false
|
||||
|
|
|
|||
Loading…
Reference in a new issue