Skip to content

Commit 2c985b8

Browse files
committed
updated user text
1 parent 18af806 commit 2c985b8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

virtdata-docsys/src/main/java/io/virtdata/docsys/core/DocServer.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,13 @@ public void run() {
294294

295295
server.start();
296296

297+
logger.info("Started documentation server at "+ bindScheme + "://" + bindHost + ":" + bindPort + "/");
298+
297299
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
300+
System.out.println("Browsing to documentation server at "+ bindScheme + "://" + bindHost + ":" + bindPort + "/");
298301
Desktop.getDesktop().browse(new URI(bindScheme + "://" + bindHost + ":" + bindPort + "/"));
302+
System.out.println("If the docs app did not open automatically in your browser, open to the the url above.");
299303
}
300-
logger.info("Started documentation server at "+ bindScheme + "://" + bindHost + ":" + bindPort + "/");
301-
System.out.println("Opening documentation server at "+ bindScheme + "://" + bindHost + ":" + bindPort + "/");
302-
System.out.println("If the app did not open automatically in your browser use the url above to browse.");
303304

304305
server.join();
305306
} catch (Exception e) {

0 commit comments

Comments
 (0)