diff options
author | Teddy Wing | 2017-11-12 20:53:14 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-12 20:53:14 +0100 |
commit | fc34a932a703953b688648987f32e7e970b676ad (patch) | |
tree | 32808d43684b03e7a059e6b8cdd53452dcb6c355 /src | |
parent | 09adc073ef92c33ee63c1885cf7888cbfead4f0e (diff) | |
download | kipper-fc34a932a703953b688648987f32e7e970b676ad.tar.bz2 |
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").
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |