mirror of
https://github.com/xvxx/phd
synced 2024-11-04 18:00:22 +00:00
default to serving cwd
This commit is contained in:
parent
aa341c4d52
commit
f7a006d74e
@ -3,11 +3,6 @@ use std::process;
|
||||
|
||||
fn main() {
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
if args.len() < 2 {
|
||||
print_help();
|
||||
return;
|
||||
}
|
||||
|
||||
let mut root = ".";
|
||||
let mut iter = args.iter();
|
||||
let mut host = "localhost";
|
||||
|
Loading…
Reference in New Issue
Block a user