Skip to content

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Oct 17, 2023
1 parent 5add41c commit 6904d72
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plot/show.v
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ pub fn (plot Plot) show() ! {
for server.status() != .running {
time.sleep(10 * time.millisecond)
}
mut uri := 'http://${server.addr}'
for ip in ['0.0.0.0', '127.0.0.1'] {
uri = uri.replace(ip, 'localhost')
}
os.open_uri(uri)!
os.open_uri('http://${server.addr}')!
t.wait()
}
}
Expand Down

0 comments on commit 6904d72

Please sign in to comment.