change ip

This commit is contained in:
CoCo_Sol 2024-01-06 16:52:22 +01:00
parent 7ef80cf7af
commit d9f0bf9c51

View file

@ -75,7 +75,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);