pathfinder2/src/bin/server.rs

11 lines
206 B
Rust
Raw Normal View History

2022-10-08 11:32:36 +00:00
use std::env;
use pathfinder2::server;
fn main() {
2022-12-28 23:06:06 +00:00
let listen_at = env::args()
.nth(1)
.unwrap_or_else(|| "127.0.0.1:8080".to_string());
server::start_server(&listen_at, 10, 4);
2022-10-08 11:32:36 +00:00
}