Update src/main.rs

This commit is contained in:
CoCo_Sol 2024-01-07 14:11:05 +00:00
parent 4cbaeb391d
commit e36c3a75b2

View file

@ -60,7 +60,7 @@ async fn rocket() -> _ {
.merge(("port", 80))
.merge(("worker_count", 4))
.merge(("log_level", rocket::config::LogLevel::Critical))
.merge(("address", IpAddr::from([127, 0, 0, 1])));
.merge(("address", IpAddr::from([0, 0, 0, 0])));
// create a config
let config = Config::from(figment);