ws: don't attempt to parse TLS files when running without TLS

This commit is contained in:
Joakim Frostegård 2022-07-19 17:29:13 +02:00
parent 72c66e6e1a
commit 7b06bf8736
3 changed files with 8 additions and 7 deletions

View file

@ -10,7 +10,7 @@ use serde::Deserialize;
use aquatic_common::cli::LogLevel;
/// aquatic_http configuration
///
///
/// Does not support running behind a reverse proxy.
#[derive(Clone, Debug, PartialEq, TomlConfig, Deserialize)]
#[serde(default, deny_unknown_fields)]