change example port
@@ -15,5 +15,7 @@ fn main() {
.unwrap()
});
- app.serve("127.0.0.1:7878")
+ let address = "127.0.0.1:8000".to_owned();
+ println!("Server is listening on http://{}", address);
+ app.serve(address)
}
