Skip to content

Commit

Permalink
use diff addr
Browse files Browse the repository at this point in the history
  • Loading branch information
crcn committed Sep 26, 2022
1 parent 6aa8171 commit 4f44d96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/designer/src/server/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ pub async fn start<IO: ProjectIO + 'static>(
portpicker::pick_unused_port().expect("No ports free")
};

let addr = format!("[::1]:{}", port).parse().unwrap();
let addr = ([127, 0, 0, 1], port).into();


println!("🎨 Starting design server on port {}", port);

Expand Down

0 comments on commit 4f44d96

Please sign in to comment.