Switch default listen address to everything

This commit is contained in:
Quentin Boyer 2023-05-20 11:41:06 +02:00
parent 6be9ce5c1d
commit 96b36180e6

View file

@ -81,7 +81,7 @@ impl Settings {
pub fn new() -> Result<Self, ConfigError> {
let cfg = Config::builder()
.add_source(config::Environment::with_prefix("REGALADE"))
.set_default("host", "127.0.0.1")?
.set_default("host", "0.0.0.0")?
.set_default("port", "8085")?
.set_default("api_allowed", None::<String>)?
.set_default("serve_app", None::<String>)?