Full sock

This commit is contained in:
Joshua Barretto 2025-04-21 00:24:42 +01:00
parent e85e181681
commit 45d1b477db

View file

@ -18,7 +18,7 @@ use std::{
#[derive(Parser)]
pub struct Args {
#[arg(long)]
port: u16,
sock: String,
#[arg(long)]
pem_dir: PathBuf,
}
@ -139,7 +139,7 @@ async fn main() {
)
.await
.unwrap();
bind_rustls("127.0.0.1:3000".parse().unwrap(), config)
bind_rustls(args.addr.parse().unwrap(), config)
.serve(app.into_make_service())
.await
.unwrap();