mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-25 12:01:09 +00:00
dont use localhost for tests
This commit is contained in:
parent
773e19b38b
commit
daa5412271
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ impl IbisInstance {
|
|||
|
||||
async fn start(db_path: String, port: i32, username: &str) -> Self {
|
||||
let database_url = format!("postgresql://ibis:password@/ibis?host={db_path}");
|
||||
let hostname = format!("localhost:{port}");
|
||||
let hostname = format!("127.0.0.1:{port}");
|
||||
let bind = format!("127.0.0.1:{port}").parse().unwrap();
|
||||
let config = IbisConfig {
|
||||
bind,
|
||||
|
|
Loading…
Reference in a new issue