fix redirection

This commit is contained in:
Jun Kurihara 2022-06-23 23:10:19 -04:00
commit c47efbfc93
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
6 changed files with 72 additions and 49 deletions

View file

@ -8,8 +8,8 @@ use tokio::time::Duration;
#[derive(Debug, Clone)]
pub struct Globals {
pub listen_sockets: Vec<SocketAddr>,
pub http_port: Option<u32>,
pub https_port: Option<u32>,
pub http_port: Option<u16>,
pub https_port: Option<u16>,
pub timeout: Duration,
pub max_clients: usize,