Skip to content

Commit

Permalink
Merge pull request #1 from Screenly/only-serve-localhost
Browse files Browse the repository at this point in the history
Only serve localhost
  • Loading branch information
sergey-borovkov authored Mar 15, 2024
2 parents 8b5aa07 + a598836 commit dabf2ef
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 dabf2ef

Please sign in to comment.