We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9a9836 + 794deda commit 3752f7dCopy full SHA for 3752f7d
crates/but-server/src/lib.rs
@@ -96,7 +96,7 @@ pub async fn run() {
96
.layer(ServiceBuilder::new().layer(cors));
97
98
let port = std::env::var("BUTLER_PORT").unwrap_or("6978".into());
99
- let host = std::env::var("BUTLER_HOST").unwrap_or("172.0.0.1".into());
+ let host = std::env::var("BUTLER_HOST").unwrap_or("127.0.0.1".into());
100
let url = format!("{}:{}", host, port);
101
let listener = tokio::net::TcpListener::bind(&url).await.unwrap();
102
println!("Running at {}", url);
0 commit comments