v0.35.0
This commit is contained in:
1 parent
2c03fcf248
commit
d3b492874b
95 files changed
+1628
-743
No files matched your search
@@ -124,11 +124,13 @@ mod tests {
|
||||
https: Some("0.0.0.0:8443".parse().unwrap()),
|
||||
administration: None,
|
||||
};
|
||||
let mut config = crate::config::Config::default();
|
||||
config.listeners = Listeners::from_startup(
|
||||
"0.0.0.0:80".parse().unwrap(),
|
||||
Some("0.0.0.0:443".parse().unwrap()),
|
||||
);
|
||||
let mut config = crate::config::Config {
|
||||
listeners: Listeners::from_startup(
|
||||
"0.0.0.0:80".parse().unwrap(),
|
||||
Some("0.0.0.0:443".parse().unwrap()),
|
||||
),
|
||||
..Default::default()
|
||||
};
|
||||
config.listeners.endpoints[0]
|
||||
.additional_addresses
|
||||
.push("127.0.0.1:80".parse().unwrap());
|
||||
|
||||
Reference in new issue
Block a user