mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-05 23:01:46 +00:00
fix optional config section related
split api/client well_known simplify well_known config access Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
5f1cab6850
commit
f30b08f015
9 files changed
+144
-138
No files matched your search
@@ -23,7 +23,7 @@ pub(super) async fn serve(
|
||||
|
||||
if cfg!(unix) && config.unix_socket_path.is_some() {
|
||||
unix::serve(server, app, shutdown).await
|
||||
} else if config.tls.is_some() {
|
||||
} else if config.tls.certs.is_some() {
|
||||
#[cfg(feature = "direct_tls")]
|
||||
return tls::serve(server, app, handle, addrs).await;
|
||||
|
||||
|
||||
Reference in new issue
Block a user