feat(rust): default bind ipv6

This commit is contained in:
alyssa 2024-11-08 10:22:33 +09:00
parent 543522440a
commit e6c4b4416e

View file

@ -37,7 +37,7 @@ pub struct DatabaseConfig {
}
fn _default_api_addr() -> String {
"0.0.0.0:5000".to_string()
"[::]:5000".to_string()
}
#[derive(Deserialize, Clone, Debug)]