Skip to content

Commit 316ae26

Browse files
committed
move to localhost
1 parent 5cdfc25 commit 316ae26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub struct Server {
1414
impl Server {
1515
// start server
1616
pub async fn run(&self) -> Result<(), Box<dyn Error>> {
17-
let listen_addr = "127.0.0.1:".to_string() + &self.port.to_string();
17+
let listen_addr = "localhost:".to_string() + &self.port.to_string();
1818

1919
log::info!("cobalt started");
2020

0 commit comments

Comments
 (0)