Switch default listen address to everything
This commit is contained in:
parent
6be9ce5c1d
commit
96b36180e6
1 changed files with 1 additions and 1 deletions
|
|
@ -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>)?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue