diff options
author | Teddy Wing | 2017-11-12 20:57:22 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-12 20:57:22 +0100 |
commit | f550b9ea7a30e0d12de2e24c02bddd35f9578c78 (patch) | |
tree | 60679c0bb9861a88b853706e5bf82f1c5e00f241 /src/main.rs | |
parent | fc34a932a703953b688648987f32e7e970b676ad (diff) | |
download | kipper-f550b9ea7a30e0d12de2e24c02bddd35f9578c78.tar.bz2 |
main(): Print message to inform users that the server is running
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 5afb667..69cb67e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,6 +97,8 @@ fn main() { .init() .expect("Logger failed to initialise"); + println!("Server listening on 127.0.0.1:{}", port); + rouille::start_server(format!("127.0.0.1:{}", port), move |request| { router!(request, (POST) (/github/pull_request_event) => { |