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.
1 parent e28a249 commit 5151b88Copy full SHA for 5151b88
src/bin/cratesfyi.rs
@@ -203,7 +203,7 @@ pub fn main() {
203
cratesfyi::utils::update_release_activity().expect("Failed to update release activity");
204
}
205
} else if let Some(matches) = matches.subcommand_matches("start-web-server") {
206
- start_web_server(matches.value_of("SOCKET_ADDR"));
+ start_web_server(Some(matches.value_of("SOCKET_ADDR").unwrap_or("0.0.0.0:3000")));
207
} else if let Some(_) = matches.subcommand_matches("daemon") {
208
cratesfyi::utils::start_daemon();
209
} else {
0 commit comments