diff --git a/src/main.rs b/src/main.rs index aa03ec1..b9b4050 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,11 +67,7 @@ fn main() { } } - - get "**" => |_req, _res| { - "Hello world!" - } }); - server.listen("127.0.0.1:6767"); + server.listen("127.0.0.1:6767").expect("Failed to bind port"); } \ No newline at end of file