Full sock
This commit is contained in:
parent
e85e181681
commit
1c1f28007c
1 changed files with 2 additions and 2 deletions
|
@ -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.sock.parse().unwrap(), config)
|
||||
.serve(app.into_make_service())
|
||||
.await
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Reference in a new issue