Skip to content

Commit 5151b88

Browse files
committed
Listen 0.0.0.0:3000 by default on start-web-server
1 parent e28a249 commit 5151b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/cratesfyi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pub fn main() {
203203
cratesfyi::utils::update_release_activity().expect("Failed to update release activity");
204204
}
205205
} else if let Some(matches) = matches.subcommand_matches("start-web-server") {
206-
start_web_server(matches.value_of("SOCKET_ADDR"));
206+
start_web_server(Some(matches.value_of("SOCKET_ADDR").unwrap_or("0.0.0.0:3000")));
207207
} else if let Some(_) = matches.subcommand_matches("daemon") {
208208
cratesfyi::utils::start_daemon();
209209
} else {

0 commit comments

Comments
 (0)