This commit is contained in:
Toshit Chawda 2024-01-27 19:38:49 -08:00
parent 29adf77a2e
commit 8f85828e73
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D

View file

@ -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()