Skip to content

Commit

Permalink
feat: Use loopback interface on desktop dev server by default (#10360)
Browse files Browse the repository at this point in the history
Use loopback interface on desktop dev server by default
  • Loading branch information
chippers authored Jul 30, 2024
1 parent a0af6c0 commit 11af545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tooling/cli/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ pub fn setup(
before_dev = before_dev.replace(
"$HOST",
if let Some(url) = &dev_url {
url.host_str().unwrap_or("0.0.0.0")
url.host_str().unwrap_or("127.0.0.1")
} else {
"0.0.0.0"
"127.0.0.1"
},
);
}
Expand Down

0 comments on commit 11af545

Please sign in to comment.