mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -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 {
|
} else {
|
||||||
"/".to_string()
|
"/".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
|
prefix
|
||||||
} else {
|
} else {
|
||||||
"4000".to_string()
|
"4000".to_string()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue