Skip to content

Commit

Permalink
Only serve localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-borovkov committed Mar 15, 2024
1 parent 8b5aa07 commit a598836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Config {
pub async fn run(config: Config) {
debug!("Using port: {}", config.port);

let addr: SocketAddr = ([0, 0, 0, 0], config.port).into();
let addr: SocketAddr = ([127, 0, 0, 1], config.port).into();

debug!("Using host/alias: {}", config.host);

Expand Down

0 comments on commit a598836

Please sign in to comment.