Skip to content

Commit

Permalink
fix: listen only to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Sep 29, 2023
1 parent 57a6cff commit 839a875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl WebServer {
info!("webserver initialized");
info!("web port: {web_port}");

let listener = TcpListener::bind(format!("0.0.0.0:{web_port}"))?;
let listener = TcpListener::bind(format!("127.0.0.1:{web_port}"))?;

let server = {
let email_sender = email_sender.to_string();
Expand Down

0 comments on commit 839a875

Please sign in to comment.