Skip to content

Commit

Permalink
Fix open browser port
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrorEnales committed Jun 1, 2022
1 parent beed19e commit bc00e65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private void createIndices(final DatabaseInternal db, final Graph graph) {
}

public void openBrowser() {
final int port = 2480; // TODO
final int port = server.getHttpServer().getPort();
try {
Desktop.getDesktop().browse(new URI("http://localhost:" + port + "/"));
} catch (IOException | URISyntaxException e) {
Expand Down

0 comments on commit bc00e65

Please sign in to comment.