From fc34a932a703953b688648987f32e7e970b676ad Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 12 Nov 2017 20:53:14 +0100 Subject: main(): Use "127.0.0.1" instead of "localhost" Make it clear that we want to run on local localhost (and not "0.0.0.0"). --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 3a6ee6c..5afb667 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,7 +97,7 @@ fn main() { .init() .expect("Logger failed to initialise"); - rouille::start_server(format!("localhost:{}", port), move |request| { + rouille::start_server(format!("127.0.0.1:{}", port), move |request| { router!(request, (POST) (/github/pull_request_event) => { let mut body = String::new(); -- cgit v1.2.3