Compare commits
No commits in common. "f64882b091c3735af21dab34f3489bf9f9fd0208" and "7c8c04573c4e7f204bd5d21ea966245f611412b1" have entirely different histories.
f64882b091
...
7c8c04573c
1 changed files with 1 additions and 5 deletions
|
|
@ -52,10 +52,6 @@ env!("CARGO_PKG_VERSION"));
|
|||
|
||||
println!("Version: {} ({})", status.version.name, status.version.protocol);
|
||||
println!("Players: {}/{}", status.players.online, status.players.max);
|
||||
println!(
|
||||
"Enforces Secure Chat: {}",
|
||||
if status.enforces_secure_chat() { "true" } else { "false" },
|
||||
);
|
||||
println!("MOTD:");
|
||||
println!("{}", status.parse_description());
|
||||
|
||||
|
|
@ -79,7 +75,7 @@ env!("CARGO_PKG_VERSION"));
|
|||
}
|
||||
};
|
||||
|
||||
HttpServer::new(address, 16, trusted_proxies).start(|request, mut response| {
|
||||
HttpServer::new(address, 64, trusted_proxies).start(|request, mut response| {
|
||||
response.status(StatusCode::OK);
|
||||
response.set_header("Content-Type", "text/plain".to_string());
|
||||
response.set_header("x-powered-by", "GIRL FUEL".to_string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue