mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
fix args
This commit is contained in:
parent
29adf77a2e
commit
8f85828e73
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ async fn main() -> Result<(), Error> {
|
|||
} else {
|
||||
"/".to_string()
|
||||
};
|
||||
let port = if let Some(prefix) = std::env::args().nth(1) {
|
||||
let port = if let Some(prefix) = std::env::args().nth(2) {
|
||||
prefix
|
||||
} else {
|
||||
"4000".to_string()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue